-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
Version
v19.7.0
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
$ node
> {})
({}))
^
Uncaught SyntaxError: Unexpected token ')'
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
> {})
{})
^
Uncaught SyntaxError: Unexpected token ')'
What do you see instead?
> {})
({}))
^
Uncaught SyntaxError: Unexpected token ')'
Additional information
We got similar result with expression {}]
Metadata
Metadata
Assignees
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.