mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 20:51:42 +03:00
a7cb2aba9d
swc_ecma_minifier: - Test mangler using execution test suite. - `mangler`: Preserve `arguments`. - `mangler`: Handle shorthand. (#2051) - `mangler`: Handle object pattern properties. - `precompress`: Don't drop function declarations if the variable with same name is in different scope. (#2011)
10 lines
134 B
JavaScript
10 lines
134 B
JavaScript
function inc() {
|
|
this.p++;
|
|
}
|
|
console.log(function () {
|
|
inc.call({
|
|
p: 6
|
|
});
|
|
console.log(6);
|
|
return 6;
|
|
}()); |