repl: fix JSON.parse error check
Before this, entering something like:
> JSON.parse('066');
resulted in the "..." prompt instead of displaying the expected
"SyntaxError: Unexpected number"
parent
9ee86b71
Please register or sign in to comment