File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ const queue =
4040 [ 'with(this){__filename}' ,
4141 '42' ,
4242 'throw new Error("hello")' ,
43- 'var x = 100; y = x;' ,
44- 'var ______________________________________________; throw 10' ] ;
43+ 'let x = 100; y = x;' ,
44+ 'let ______________________________________________; throw 10' ] ;
4545
4646function go ( ) {
4747 const c = queue . shift ( ) ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Error: hello
4848 at endReadableNT (_stream_readable.js:*:*)
4949100
5050[stdin]:1
51- var x = 100; y = x;
51+ let x = 100; y = x;
5252 ^
5353
5454ReferenceError: y is not defined
@@ -64,12 +64,12 @@ ReferenceError: y is not defined
6464 at endReadableNT (_stream_readable.js:*:*)
6565
6666[stdin]:1
67- var ______________________________________________; throw 10
67+ let ______________________________________________; throw 10
6868 ^
696910
7070
7171[stdin]:1
72- var ______________________________________________; throw 10
72+ let ______________________________________________; throw 10
7373 ^
747410
7575done
You can’t perform that action at this time.
0 commit comments