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