-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constructor function show array literals [] instead of {} #47556
Comments
//another issue: /* in Firefox reurns 12, in Node return [Function: valueOf] |
I can't reproduce the original issue, I'm not even sure what you're referring to because the output is: [String: 'Hello World']
object If you're referring to the
|
Node.js is correct here as |
In Firefox, I get
Here's the output I get on Firefox:
As @VoltrexKeyva said, the output of I'm going to close the issue because I believe there's nothing to be done on Node.js side, but don't hesitate to ask more questions. |
Version
18.7.0
Platform
Linux nyufo-Aspire-A315-34 5.19.0-38-generic #39-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 17 17:33:16 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
No response
What do you see instead?
in the latest Firefox show curly brackets, but in node in console show array literals
Additional information
No response
The text was updated successfully, but these errors were encountered: