diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2021-03-23 03:15:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 11:15:41 +0800 |
commit | 44394e61c95e29bcae68087d5ada2036be9b073d (patch) | |
tree | 8fbc33fe20d541919030f52f61cb5e1477f9b73e /test/mocha/reduce.js | |
parent | f9055df44d86c8537afc34f00bd255792f80422f (diff) | |
download | tracifyjs-44394e61c95e29bcae68087d5ada2036be9b073d.tar.gz tracifyjs-44394e61c95e29bcae68087d5ada2036be9b073d.zip |
workaround `toString()` quirks on global context (#4814)
Diffstat (limited to 'test/mocha/reduce.js')
-rw-r--r-- | test/mocha/reduce.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/reduce.js b/test/mocha/reduce.js index 238d11ef..64fea56d 100644 --- a/test/mocha/reduce.js +++ b/test/mocha/reduce.js @@ -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, |