Files
UglifyJS/test/input/reduce/unsafe_math.reduced.js
2022-12-13 10:07:15 +08:00

14 lines
227 B
JavaScript

// (beautified)
var expr2 = (0 - 1 - .1 - .1).toString();
console.log(expr2);
// output: -1.2000000000000002
//
// minify: -1.2
//
// options: {
// "compress": {
// "unsafe_math": true
// },
// "mangle": false
// }