update test
top-level block-variables not within blocks are global variables
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user