Files
UglifyJS/test/input/reduce/setter.reduced.js
2020-12-24 09:56:02 +08:00

16 lines
230 B
JavaScript

// (beautified)
({
set p(v) {
console.log(1 + .1 + .1);
}
}).p = 0;
// output: 1.2000000000000002
//
// minify: 1.2
//
// options: {
// "compress": {
// "unsafe_math": true
// },
// "mangle": false
// }