update test
top-level block-variables not within blocks are global variables
This commit is contained in:
parent
c59bf5e8d8
commit
9fc1c4b3b5
|
|
@ -89,6 +89,9 @@ remove_unused_in_global_block: {
|
||||||
}
|
}
|
||||||
expect: {
|
expect: {
|
||||||
var w;
|
var w;
|
||||||
|
let ex;
|
||||||
|
const why;
|
||||||
|
class Zed {};
|
||||||
var wut;
|
var wut;
|
||||||
console.log(x, y, Zee);
|
console.log(x, y, Zee);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user