Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repl: JSON.parse fails on some input #14800

Closed
sigmaSd opened this issue Jun 5, 2022 · 2 comments
Closed

repl: JSON.parse fails on some input #14800

sigmaSd opened this issue Jun 5, 2022 · 2 comments

Comments

@sigmaSd
Copy link
Contributor

sigmaSd commented Jun 5, 2022

To reproduce

await fetch("https://pastebin.com/raw/ShBSymW2").then(r=>r.json())

error:
Unterminated string literal

Works in the browser and with jq

@sigmaSd sigmaSd changed the title JSON.parse fails on some input repl: JSON.parse fails on some input Jun 5, 2022
@sigmaSd
Copy link
Contributor Author

sigmaSd commented Jun 5, 2022

turns out it only errors in the repl, and if I add console.log it in the repl it crashes with #12226

@sigmaSd
Copy link
Contributor Author

sigmaSd commented Jun 5, 2022

oh I already opened this issue before #12447

@sigmaSd sigmaSd closed this as completed Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant