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 result
% node
> { a: 1 }
{ a: 1 }
% node inspect app.js
debug> { a: 1 }
1
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
Like REPL, the result of debugger will be
% node inspect app.js
debug> { a: 1 }
{ a: 1 }
What do you see instead?
% node inspect app.js
debug> { a: 1 }
1
Additional information
The results of { a: 1 } in other runtimes:
We have a similar bug (#45964) but we have not fixed yet and it was closed
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