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 100 9 33 Infinity NaN undefined
uglified result:
evalmachine.<anonymous>:1
var _calls_=10,a=100,b=10,c=0;function f0(foo_2,a_1,foo_2){!function(){var b_2;c=1+c,b&&(b_2.b=5);var NaN=function(){var key1,key3;for(key1 in c=1+c,("function"&{}^(a_1&&(a_1.then="bar")))*("b"&(this&&-4)))c=1+c,c+=1,key1+=-1|(a_1&&(a_1[c=1+c,foo_2=0/0>=38..toString()>>-2]=!1));for(key3 in c=1+c,c+=1,c+=1,1+({}+25))c=1+c}((--b,c=1+c,c+=1,9..toString()[c=1+c,c+=1,0>>(a_1=0/0)])),NaN_2=function(a_2,a_2){c=1+c,foo_2+=-4!=24..toString(),a_2&&(a_2[c=1+c,25&(NaN&&(NaN[c=1+c,24..toString()*/[a2][^e]+$/>>!0!=(-4^[])<!1]=0))]/=/[a2][^e]+$/),c+=1}();!function(bar){try{c=1+c,23..toString(),23..toString(),NaN_2&&({"\t":NaN_2.null}={"\t":!1/([]<<23..toString())})}catch(a_2){}c=1+c,bar&&({async:bar.null}={async:0})}({get:(c=1+c,foo_2&&(foo_2[c=1+c,1%(!1*(c+=1,3))]>>>=!1),0&24..toString()^("function"|[]||-5!=NaN))}),c=1+c}(foo_2/=b+1-.1-.1-.1)}var bar_1=f0(1);console.log(null,a,b,c,1/0,NaN,void 0);
^
TypeError: Cannot set property 'b' of undefined
at evalmachine.<anonymous>:1:95
at f0 (evalmachine.<anonymous>:1:820)
at evalmachine.<anonymous>:1:852
at ContextifyScript.Script.runInContext (vm.js:59:29)
at Object.runInContext (vm.js:120:6)
at run_code_vm (D:\a\UglifyJS\UglifyJS\test\sandbox.js:257:12)
at Object.exports.run_code (D:\a\UglifyJS\UglifyJS\test\sandbox.js:37:16)
at run_code (D:\a\UglifyJS\UglifyJS\test\ufuzz\index.js:2082:20)
at D:\a\UglifyJS\UglifyJS\test\ufuzz\index.js:2482:29
at Array.forEach (<anonymous>)
// reduced test case (output will differ)// (beautified)varb=1;functionf0(){functionf1(){functionf2({foo: b_2}){b_2&&b_2.b;}f2({foo: b});}f1();}f0();// output: // minify: TypeError: Cannot read property 'b' of undefined// options: {// "mangle": false,// "output": {// "v8": true// },// "validate": true// }
The text was updated successfully, but these errors were encountered: