replace keep_fargs default to false (#4443)

This commit is contained in:
Alex Lam S.L
2020-12-24 01:56:02 +00:00
committed by GitHub
parent 2390fae5c4
commit 6988cd9558
24 changed files with 219 additions and 263 deletions

View File

@@ -1,20 +1,16 @@
// (beautified)
console.log(function f(a) {
({
set p(v) {
f++;
}
});
return f.length;
}());
// output: 1
({
set p(v) {
console.log(1 + .1 + .1);
}
}).p = 0;
// output: 1.2000000000000002
//
// minify: 0
// minify: 1.2
//
// options: {
// "compress": {
// "keep_fargs": false,
// "unsafe": true
// "unsafe_math": true
// },
// "mangle": false
// }