You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we should probably use acorn or something to determine if the input is invalid or unfinished (> a: 5 } vs > { a: 5), and then we can just drop to the next line waiting for more input
Hello,
Looks like the current repl doesn't support multiline expression. I was looking at the source code, guess we are passing the expression to
Runtime.evaluate
over here : https://github.com/nodejs/repl/blob/master/src/repl.js#L68Not sure, whether the session's
Runtime.evaluate
supports multilines. But looking at the protocol from here: https://chromium.googlesource.com/v8/v8/+/master/src/inspector/js_protocol.json, I doubt it has the support.The text was updated successfully, but these errors were encountered: