UglifyJS/test/input/reduce/setter.reduced.js

19 lines
266 B
JavaScript
Raw Normal View History

2020-03-01 05:04:21 +00:00
console.log(function f(a) {
({
set p(v) {
f++;
}
});
return f.length;
}());
// output: 1
//
// minify: 0
//
// options: {
// "compress": {
// "keep_fargs": false,
// "unsafe": true
// },
// "mangle": false
// }