Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

notebook breaks on object literal input #507

Open
ry opened this issue Apr 11, 2018 · 0 comments
Open

notebook breaks on object literal input #507

ry opened this issue Apr 11, 2018 · 0 comments

Comments

@ry
Copy link
Contributor

ry commented Apr 11, 2018

If you put { a: "w", b: "hello", c: 123} into the inspector it gives an error: SyntaxError: Unexpected token (4:3)

screen shot 2018-04-11 at 9 08 48 am

There's some debate as to whether this is actually a bug, since it's technically a block scope with labels... However the Node REPL and Chrome Inspector parse it in the way one would expect..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant