mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
b6738c1af0
PR-URL: https://github.com/nodejs/node/pull/47498 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
22 lines
486 B
Plaintext
22 lines
486 B
Plaintext
beginning
|
|
foo.vm:1
|
|
var 4;
|
|
^
|
|
|
|
SyntaxError: Unexpected number
|
|
at new Script (node:vm:*)
|
|
at createScript (node:vm:*)
|
|
at Object.runInThisContext (node:vm:*)
|
|
at Object.<anonymous> (*fixtures*vm*vm_display_syntax_error.js:31:6)
|
|
test.vm:1
|
|
var 5;
|
|
^
|
|
|
|
SyntaxError: Unexpected number
|
|
at new Script (node:vm:*)
|
|
at createScript (node:vm:*)
|
|
at Object.runInThisContext (node:vm:*)
|
|
at Object.<anonymous> (*fixtures*vm*vm_display_syntax_error.js:36:4)
|
|
|
|
Node.js *
|