• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[eval]
2[eval]:1
3with(this){__filename}
4^^^^
5SyntaxError: Strict mode code may not include a with statement
6    at new Script (node:vm:*:*)
7    at createScript (node:vm:*:*)
8    at Object.runInThisContext (node:vm:*:*)
9    at node:internal/process/execution:*:*
10    at [eval]-wrapper:*:*
11    at runScript (node:internal/process/execution:*:*)
12    at evalScript (node:internal/process/execution:*:*)
13    at node:internal/main/eval_string:*:*
14
15Node.js *
1642
1742
18[eval]:1
19throw new Error("hello")
20^
21
22Error: hello
23    at [eval]:1:7
24    at Script.runInThisContext (node:vm:*:*)
25    at Object.runInThisContext (node:vm:*:*)
26    at node:internal/process/execution:*:*
27    at [eval]-wrapper:*:*
28    at runScript (node:internal/process/execution:*:*)
29    at evalScript (node:internal/process/execution:*:*)
30    at node:internal/main/eval_string:*:*
31
32Node.js *
33
34[eval]:1
35throw new Error("hello")
36^
37
38Error: hello
39    at [eval]:1:7
40    at Script.runInThisContext (node:vm:*:*)
41    at Object.runInThisContext (node:vm:*:*)
42    at node:internal/process/execution:*:*
43    at [eval]-wrapper:*:*
44    at runScript (node:internal/process/execution:*:*)
45    at evalScript (node:internal/process/execution:*:*)
46    at node:internal/main/eval_string:*:*
47
48Node.js *
49100
50[eval]:1
51var x = 100; y = x;
52               ^
53
54ReferenceError: y is not defined
55    at [eval]:1:16
56    at Script.runInThisContext (node:vm:*:*)
57    at Object.runInThisContext (node:vm:*:*)
58    at node:internal/process/execution:*:*
59    at [eval]-wrapper:*:*
60    at runScript (node:internal/process/execution:*:*)
61    at evalScript (node:internal/process/execution:*:*)
62    at node:internal/main/eval_string:*:*
63
64Node.js *
65
66[eval]:1
67var ______________________________________________; throw 10
68                                                    ^
6910
70(Use `* --trace-uncaught ...` to show where the exception was thrown)
71
72Node.js *
73
74[eval]:1
75var ______________________________________________; throw 10
76                                                    ^
7710
78(Use `* --trace-uncaught ...` to show where the exception was thrown)
79
80Node.js *
81done
82