You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
original result:
null undefined 9 19 Infinity NaN undefined
uglified result:
evalmachine.<anonymous>:1
var _calls_=10,a=100,b=10,c=0;function f0(){var n=function*(){switch(c+=1,void(a="a")){case b>>>=a:case"symbol"!=typeof b:break;case(c+=1)+(!0 in[void class{[(c=1+c,a=NaN)](){}},b--,(c+=1)+4,--b+function(){}]):var n=5;do{for(var o=5;c=1+(c=1+c),a&&(({done:a.b}={done:0!==(!0o644n>>"function"==-3)}),0<--o););}while(--b+(0 in{in:(c=1+c,0/(a+=-1)),"-2":(c=1+(c+=1),c+=1,0%((0>>>(2===[,0].length))%5))})&&0<--n);return a+++!+(!1<(a=NaN));case"object"!=typeof b:for(var e=5;--b+/[abc4]/g.exec((c=1+c,(b||5).toString()))&&0<--e;);}}().next(),o=void 0,e=(c+=1,a++,--b,void(0<=--_calls_&&l()));function l(){!{[b++]:[0]}[c=1+(c=1+c),void(n&&(n[e]=!1<"b"-(2===[,0].length)))]&&0<=--_calls_&&t()}function t(){o&&o.length;for(var a=5;c=1+c,c+=1,"number"&-3<=(-5<=(2===[,0].length))&&0<a;--a)c=1+c,c+=1,n=NaN;c=1+c,c=1+(c+=1),K}l()}a=f0("38",22,NaN),console.log(null,a,b,c,1/0,NaN,void 0);
^
ReferenceError: K is not defined
at t (evalmachine.<anonymous>:1:815)
at l (evalmachine.<anonymous>:1:683)
at f0 (evalmachine.<anonymous>:1:582)
at evalmachine.<anonymous>:1:823
at Script.runInContext (node:vm:141:12)
at Object.runInContext (node:vm:297:6)
at run_code_vm (/Users/runner/work/UglifyJS/UglifyJS/test/sandbox.js:273:12)
at Object.exports.run_code (/Users/runner/work/UglifyJS/UglifyJS/test/sandbox.js:36:38)
at run_code (/Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2116:20)
at /Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2571:29
// reduced test case (output will differ)// (beautified)var_calls_=1;functionf0(){varasync_1=f4();functionf4(){if({}[0]){}else{f5&&_calls_&&f5();}}f4();functionf5(){for(varbrake29=5;brake29;--brake29){}functionf7(await_2){await_2&&await_2.static;}f7();}}f0();// output: // minify: ReferenceError: f is not defined// options: {// "compress": {// "passes": 1000000,// "sequences": 1000000,// "unsafe": true,// "unsafe_Function": true,// "unsafe_math": true,// "unsafe_proto": true,// "unsafe_regexp": true// },// "module": false,// "output": {// "v8": true// },// "validate": true// }
The text was updated successfully, but these errors were encountered: