For this code:
Buffer.from([\xff]).toString('ascii').codePointAt(0)
This was the output:
undefined:1
Buffer.from([\xff]).toString('ascii').codePointAt(0)
^
SyntaxError: Invalid or unexpected token
at Object.<anonymous> (/var/ws/eval-js.js:11:26)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.runMain (module.js:607:10)
at run (bootstrap_node.js:382:7)
at startup (bootstrap_node.js:137:9)
at bootstrap_node.js:497:3