update test

top-level block-variables not within blocks are global variables
This commit is contained in:
alexlamsl
2017-02-27 06:23:12 +08:00
parent c59bf5e8d8
commit 9fc1c4b3b5

View File

@@ -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);
} }