swc/ecmascript/minifier/tests/exec/update/object/1/input.js
강동윤 a7cb2aba9d
fix(es/minifier): Fix bugs of the minifier (#2052)
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)
2021-08-11 07:24:52 +00:00

8 lines
117 B
JavaScript

console.log(function () {
console.log({
q: {
p: 8
}
}.q.p++);
return 8;
}());