aboutsummaryrefslogtreecommitdiff
path: root/test/input/reduce/unsafe_math.reduced.js
blob: 5e1f0ba1e3c662937fa0afe0103b9fd8acf2bbb0 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// (beautified)
var b = 0;

var expr2 = (0 - 1 - .1 - .1).toString();

for (var key2 in expr2) {
    --b;
}

console.log(b);
// output: -19
// 
// minify: -4
// 
// options: {
//   "compress": {
//     "unsafe_math": true
//   },
//   "mangle": false
// }