1[stdin] 2[stdin]:1 3with(this){__filename} 4^^^^ 5 6SyntaxError: Strict mode code may not include a with statement 7 at makeContextifyScript (node:internal/vm:*:*) 8 at node:internal/process/execution:*:* 9 at [stdin]-wrapper:*:* 10 at runScript (node:internal/process/execution:*:*) 11 at evalScript (node:internal/process/execution:*:*) 12 at node:internal/main/eval_stdin:*:* 13 at Socket.<anonymous> (node:internal/process/execution:*:*) 14 at Socket.emit (node:events:*:*) 15 at endReadableNT (node:internal/streams/readable:*:*) 16 at process.processTicksAndRejections (node:internal/process/task_queues:*:*) 17 18Node.js * 1942 2042 21[stdin]:1 22throw new Error("hello") 23^ 24 25Error: hello 26 at [stdin]:1:7 27 at runScriptInThisContext (node:internal/vm:*:*) 28 at node:internal/process/execution:*:* 29 at [stdin]-wrapper:*:* 30 at runScript (node:internal/process/execution:*:*) 31 at evalScript (node:internal/process/execution:*:*) 32 at node:internal/main/eval_stdin:*:* 33 at Socket.<anonymous> (node:internal/process/execution:*:*) 34 at Socket.emit (node:events:*:*) 35 at endReadableNT (node:internal/streams/readable:*:*) 36 37Node.js * 38[stdin]:1 39throw new Error("hello") 40^ 41 42Error: hello 43 at [stdin]:1:* 44 at runScriptInThisContext (node:internal/vm:*:*) 45 at node:internal/process/execution:*:* 46 at [stdin]-wrapper:*:* 47 at runScript (node:internal/process/execution:*:*) 48 at evalScript (node:internal/process/execution:*:*) 49 at node:internal/main/eval_stdin:*:* 50 at Socket.<anonymous> (node:internal/process/execution:*:*) 51 at Socket.emit (node:events:*:*) 52 at endReadableNT (node:internal/streams/readable:*:*) 53 54Node.js * 55100 56[stdin]:1 57let x = 100; y = x; 58 ^ 59 60ReferenceError: y is not defined 61 at [stdin]:1:16 62 at runScriptInThisContext (node:internal/vm:*:*) 63 at node:internal/process/execution:*:* 64 at [stdin]-wrapper:*:* 65 at runScript (node:internal/process/execution:*:*) 66 at evalScript (node:internal/process/execution:*:*) 67 at node:internal/main/eval_stdin:*:* 68 at Socket.<anonymous> (node:internal/process/execution:*:*) 69 at Socket.emit (node:events:*:*) 70 at endReadableNT (node:internal/streams/readable:*:*) 71 72Node.js * 73 74[stdin]:1 75let ______________________________________________; throw 10 76 ^ 7710 78(Use `* --trace-uncaught ...` to show where the exception was thrown) 79 80Node.js * 81 82[stdin]:1 83let ______________________________________________; throw 10 84 ^ 8510 86(Use `* --trace-uncaught ...` to show where the exception was thrown) 87 88Node.js * 89done 90