• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[eval]
2[eval]: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 [eval]-wrapper:*:*
10    at runScript (node:internal/process/execution:*:*)
11    at evalScript (node:internal/process/execution:*:*)
12    at node:internal/main/eval_string:*:*
13
14Node.js *
1542
1642
17[eval]:1
18throw new Error("hello")
19^
20
21Error: hello
22    at [eval]:1:7
23    at runScriptInThisContext (node:internal/vm:*:*)
24    at node:internal/process/execution:*:*
25    at [eval]-wrapper:*:*
26    at runScript (node:internal/process/execution:*:*)
27    at evalScript (node:internal/process/execution:*:*)
28    at node:internal/main/eval_string:*:*
29
30Node.js *
31
32[eval]:1
33throw new Error("hello")
34^
35
36Error: hello
37    at [eval]:1:7
38    at runScriptInThisContext (node:internal/vm:*:*)
39    at node:internal/process/execution:*:*
40    at [eval]-wrapper:*:*
41    at runScript (node:internal/process/execution:*:*)
42    at evalScript (node:internal/process/execution:*:*)
43    at node:internal/main/eval_string:*:*
44
45Node.js *
46100
47[eval]:1
48var x = 100; y = x;
49               ^
50
51ReferenceError: y is not defined
52    at [eval]:1:16
53    at runScriptInThisContext (node:internal/vm:*:*)
54    at node:internal/process/execution:*:*
55    at [eval]-wrapper:*:*
56    at runScript (node:internal/process/execution:*:*)
57    at evalScript (node:internal/process/execution:*:*)
58    at node:internal/main/eval_string:*:*
59
60Node.js *
61
62[eval]:1
63var ______________________________________________; throw 10
64                                                    ^
6510
66(Use `* --trace-uncaught ...` to show where the exception was thrown)
67
68Node.js *
69
70[eval]:1
71var ______________________________________________; throw 10
72                                                    ^
7310
74(Use `* --trace-uncaught ...` to show where the exception was thrown)
75
76Node.js *
77done
78