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,19 +1,14 @@
// (beautified)
(function f(a) {
do {
console.log(f.length);
} while (console.log(f += 0));
})();
// output: 1
// function(){}0
console.log(function() {
return 1 + .1 + .1;
}());
// output: 1.2000000000000002
//
// minify: 0
// function(){}0
// minify: 1.2
//
// options: {
// "compress": {
// "keep_fargs": false,
// "unsafe": true
// "unsafe_math": true
// },
// "mangle": false
// }