• 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 (vm.js:*:*)
7    at createScript (vm.js:*:*)
8    at Object.runInThisContext (vm.js:*:*)
9    at Object.<anonymous> ([eval]-wrapper:*:*)
10    at Module._compile (internal/modules/cjs/loader.js:*:*)
11    at evalScript (internal/process/execution.js:*:*)
12    at internal/main/eval_string.js:*:*
1342
1442
15[eval]:1
16throw new Error("hello")
17^
18
19Error: hello
20    at [eval]:1:7
21    at Script.runInThisContext (vm.js:*:*)
22    at Object.runInThisContext (vm.js:*:*)
23    at Object.<anonymous> ([eval]-wrapper:*:*)
24    at Module._compile (internal/modules/cjs/loader.js:*:*)
25    at evalScript (internal/process/execution.js:*:*)
26    at internal/main/eval_string.js:*:*
27
28[eval]:1
29throw new Error("hello")
30^
31
32Error: hello
33    at [eval]:1:7
34    at Script.runInThisContext (vm.js:*:*)
35    at Object.runInThisContext (vm.js:*:*)
36    at Object.<anonymous> ([eval]-wrapper:*:*)
37    at Module._compile (internal/modules/cjs/loader.js:*:*)
38    at evalScript (internal/process/execution.js:*:*)
39    at internal/main/eval_string.js:*:*
40100
41[eval]:1
42var x = 100; y = x;
43               ^
44
45ReferenceError: y is not defined
46    at [eval]:1:16
47    at Script.runInThisContext (vm.js:*:*)
48    at Object.runInThisContext (vm.js:*:*)
49    at Object.<anonymous> ([eval]-wrapper:*:*)
50    at Module._compile (internal/modules/cjs/loader.js:*:*)
51    at evalScript (internal/process/execution.js:*:*)
52    at internal/main/eval_string.js:*:*
53
54[eval]:1
55var ______________________________________________; throw 10
56                                                    ^
5710
58(Use `* --trace-uncaught ...` to show where the exception was thrown)
59
60[eval]:1
61var ______________________________________________; throw 10
62                                                    ^
6310
64(Use `* --trace-uncaught ...` to show where the exception was thrown)
65done
66