workaround toString() quirks on global context (#4814)

This commit is contained in:
Alex Lam S.L
2021-03-23 03:15:41 +00:00
committed by GitHub
parent f9055df44d
commit 44394e61c9
4 changed files with 16 additions and 19 deletions

View File

@@ -366,7 +366,7 @@ describe("test/reduce.js", function() {
var code = [
"(async function() {});",
"for (var k in this);",
"console.log(k);",
"console.log(k, 42 + this);",
].join("\n");
var result = reduce_test(code, {
mangle: false,