-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Unexpected parse error inside deno REPL #17442
Comments
Minor clarification: The issue is that Deno's REPL doesn't automatically insert a line break with this input but instead tries to interpret the whole code as a complete command, which it is not as it is missing the closing brace for the Node's REPL correctly infers that an Enter press should insert a line break, not evaluate the code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This piece of code
keeps giving
parse error: Expected '}', got '<eof>' at 3:50
, can't seem to go past it without usingCtrl+S
.And it works fine in node
The text was updated successfully, but these errors were encountered: