$ node
> function foo() {
... let n = 10n;
Thrown:
let n = 10n;
^
SyntaxError: Unexpected end of input
>
Reproduces all the time.
Should not cause an exception.
An exception.
Works on master. Works when run from a script instead of the repl.
Looks like https://github.com/nodejs/node/pull/27400 would need to be backported?
@mscdex can I take up this?
does this still need work?
Is this issue still valid?
I wanna work on this. can anyone guide me for my first time contribution?
Maybe @BridgeAR ?
@HassanRazaMuhammadTufail please feel free to reach out to me through my twitter account or email. I'm happy to have a short video session to help you get this backported.
Does this issue still need input? I'm happy to get involved
@HassanRazaMuhammadTufail please feel free to reach out to me through my twitter account or email. I'm happy to have a short video session to help you get this backported.
@BridgeAR I have emailed you. kindly help me out in contributing.
Anyone still working on this issue?
It seems that this issue has already been solved

This only affects Node.js v10.x. I'm closing the issue because v10 is now in maintenance LTS mode and will only get critical fixes.