Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

JSON.parse(bad_json_string) stalls in node REPL  #983

@chbrown

Description

@chbrown
$ node
> JSON.parse('{{: xjnk123, null};;-=+')
...

It stalls, when it should throw an error right then and there. It breaks as expected when run as a script ($ node sandbox_json.js).

Thanks!

-Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions