- Version: v10.x
- Platform: all
- Subsystem: repl
What steps will reproduce the bug?
$ node
> function foo() {
... let n = 10n;
Thrown:
let n = 10n;
^
SyntaxError: Unexpected end of input
>
How often does it reproduce? Is there a required condition?
Reproduces all the time.
What is the expected behavior?
Should not cause an exception.
What do you see instead?
An exception.
Additional information
Works on master. Works when run from a script instead of the repl.
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Reproduces all the time.
What is the expected behavior?
Should not cause an exception.
What do you see instead?
An exception.
Additional information
Works on master. Works when run from a script instead of the repl.