I am working on a fix.
unfortunately we parse the repl input with acorn before actually running it, so its not a 1:1 match to what node actually supports.
I'm not entirely sure what to do about this.
I will close the issue then. Thanks @devsnek.
Most helpful comment
I am working on a fix.