node/test/message/stdin_messages.out

78 lines
2.4 KiB
Plaintext

[stdin]
[stdin]:1
with(this){__filename}
^^^^
SyntaxError: Strict mode code may not include a with statement
at new Script (node:vm:*)
at createScript (node:vm:*)
at Object.runInThisContext (node:vm:*)
at node:internal/process/execution:*:*
at [stdin]-wrapper:*:*
at evalScript (node:internal/process/execution:*:*)
at node:internal/main/eval_stdin:*:*
at Socket.<anonymous> (node:internal/process/execution:*:*)
at Socket.emit (node:events:*:*)
at endReadableNT (node:internal/streams/readable:*:*)
42
42
[stdin]:1
throw new Error("hello")
^
Error: hello
at [stdin]:1:7
at Script.runInThisContext (node:vm:*)
at Object.runInThisContext (node:vm:*)
at node:internal/process/execution:*:*
at [stdin]-wrapper:*:*
at evalScript (node:internal/process/execution:*:*)
at node:internal/main/eval_stdin:*:*
at Socket.<anonymous> (node:internal/process/execution:*:*)
at Socket.emit (node:events:*:*)
at endReadableNT (node:internal/streams/readable:*:*)
[stdin]:1
throw new Error("hello")
^
Error: hello
at [stdin]:1:*
at Script.runInThisContext (node:vm:*)
at Object.runInThisContext (node:vm:*)
at node:internal/process/execution:*:*
at [stdin]-wrapper:*:*
at evalScript (node:internal/process/execution:*:*)
at node:internal/main/eval_stdin:*:*
at Socket.<anonymous> (node:internal/process/execution:*:*)
at Socket.emit (node:events:*:*)
at endReadableNT (node:internal/streams/readable:*:*)
100
[stdin]:1
let x = 100; y = x;
^
ReferenceError: y is not defined
at [stdin]:1:16
at Script.runInThisContext (node:vm:*)
at Object.runInThisContext (node:vm:*)
at node:internal/process/execution:*:*
at [stdin]-wrapper:*:*
at evalScript (node:internal/process/execution:*:*)
at node:internal/main/eval_stdin:*:*
at Socket.<anonymous> (node:internal/process/execution:*:*)
at Socket.emit (node:events:*:*)
at endReadableNT (node:internal/streams/readable:*:*)
[stdin]:1
let ______________________________________________; throw 10
^
10
(Use `* --trace-uncaught ...` to show where the exception was thrown)
[stdin]:1
let ______________________________________________; throw 10
^
10
(Use `* --trace-uncaught ...` to show where the exception was thrown)
done