File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ const queue =
40
40
[ 'with(this){__filename}' ,
41
41
'42' ,
42
42
'throw new Error("hello")' ,
43
- 'var x = 100; y = x;' ,
44
- 'var ______________________________________________; throw 10' ] ;
43
+ 'let x = 100; y = x;' ,
44
+ 'let ______________________________________________; throw 10' ] ;
45
45
46
46
function go ( ) {
47
47
const c = queue . shift ( ) ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Error: hello
48
48
at endReadableNT (_stream_readable.js:*:*)
49
49
100
50
50
[stdin]:1
51
- var x = 100; y = x;
51
+ let x = 100; y = x;
52
52
^
53
53
54
54
ReferenceError: y is not defined
@@ -64,12 +64,12 @@ ReferenceError: y is not defined
64
64
at endReadableNT (_stream_readable.js:*:*)
65
65
66
66
[stdin]:1
67
- var ______________________________________________; throw 10
67
+ let ______________________________________________; throw 10
68
68
^
69
69
10
70
70
71
71
[stdin]:1
72
- var ______________________________________________; throw 10
72
+ let ______________________________________________; throw 10
73
73
^
74
74
10
75
75
done
You can’t perform that action at this time.
0 commit comments