-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Different behavior of { a: 1 } in the REPL and the debugger #46808
Comments
That's because it's not considered a bug but working as expected, it's a deliberate choice. Thanks for the report but I'm going to go ahead and close it. |
@bnoordhuis We reached the consensus that it's not a bug, so the Current:
Expected:
|
@cola119 who is "we"? |
I meant that we have reached the consensus that the REPL's evaluation of |
Version
v19.7.0
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
Evaluating
{ a: 1 }
in the REPL and the debugger have different resultHow often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
Like REPL, the result of debugger will be
What do you see instead?
Additional information
The results of
{ a: 1 }
in other runtimes:ChromeDevTools:
{ a: 1 }
Safari WebInspector:
{ a: 1 }
We have a similar bug (#45964) but we have not fixed yet and it was closed
The text was updated successfully, but these errors were encountered: