diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-09-02 18:41:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 01:41:10 +0800 |
commit | 375ebe316d8ff1a421c1cafc95d64e3377f7737b (patch) | |
tree | baa24cfb6cb1b5f6fef5765bda97eeca71a31389 /test/input/reduce/label.reduced.js | |
parent | 2500930234304c89d6b9a87cb95fe07d1a8bc6c5 (diff) | |
download | tracifyjs-375ebe316d8ff1a421c1cafc95d64e3377f7737b.tar.gz tracifyjs-375ebe316d8ff1a421c1cafc95d64e3377f7737b.zip |
enhance `join_vars` (#4089)
Diffstat (limited to 'test/input/reduce/label.reduced.js')
-rw-r--r-- | test/input/reduce/label.reduced.js | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/test/input/reduce/label.reduced.js b/test/input/reduce/label.reduced.js index a1e79507..ba4b56c9 100644 --- a/test/input/reduce/label.reduced.js +++ b/test/input/reduce/label.reduced.js @@ -1,15 +1,12 @@ // (beautified) -var o = this; - -for (var k in o) {} - -var a; - -console.log(k); -// output: a +console.log(0 - 1 - .1 - .1); +// output: -1.2000000000000002 // -// minify: k +// minify: -1.2 // // options: { +// "compress": { +// "unsafe_math": true +// }, // "mangle": false // }
\ No newline at end of file |