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 105 111 8 Infinity NaN undefined
uglified result:
evalmachine.<anonymous>:1
var _calls_=10,a=100,b=10,c=0;function f0(a_2,a_2_1){var bar_1=function(){var b,brake1=5;do{}while((c+=1)+b&&0<--brake1);switch(--b+("function"!=typeof a_2)){case a+++void 0:break;case 3:c=1+c,a_2&&(a_2.next+=!1),c=1+c,a_2_1&&(a_2_1.then**=(b&&(b[c=1+c,1]%=NaN))<NaN);break;case(c+=1)+("undefined"!=typeof async_1):break;default:c=1+c,b&&(b[c=1+c,("a"!=38..toString())*(4-38..toString())>>((a_2_1&&(a_2_1.get+=!1))>(a_2&&(a_2.set=-2>>{})))]^=(a_2&&--a_2[c=1+c,(38..toString()!==(2===[,0].length)===5)+void 0])**!1)}}();--b,b+=++a,--b,c+=1,c+=1;!function(yield_2){switch(b){case a+++ ++a:try{c=1+c,a_2&&(a_2.Infinity+=!0),c=1+c}catch(yield_2){c=1+c,38..toString(),23..toString(),b&&(b.then%=0),c=1+c}finally{c=1+(c=1+c)}c=1+c,NaN<(c+=1,-0)===Number(0xdeadn<<16n|0xbeefn)*this/(24..toString()<<"")&&(c=1+c,c+=1,bar_1&&(bar_1.value>>>=null/this));break;case(c+=1)+(b&&"function"==typeof yield_2.var&&0<=--_calls_&&yield_2.var(2<3n,"function"==typeof a)):break;case(c+=1)+{}?a++:a:break;case void 0:c=1+c,24..toString(),24..toString(),23..toString()}c+=1,b++}(void 0)}var yield_1=f0(!0);console.log(null,a,b,c,1/0,NaN,void 0);
^
TypeError: Cannot read property 'var' of undefined
at evalmachine.<anonymous>:1:893
at f0 (evalmachine.<anonymous>:1:1056)
at evalmachine.<anonymous>:1:1077
at Script.runInContext (node:vm:141:12)
at Object.runInContext (node:vm:292:6)
at run_code_vm (/Users/runner/work/UglifyJS/UglifyJS/test/sandbox.js:257:12)
at Object.exports.run_code (/Users/runner/work/UglifyJS/UglifyJS/test/sandbox.js:37:16)
at run_code (/Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2043:20)
at /Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2427:29
at Array.forEach (<anonymous>)
// reduced test case (output will differ)// (beautified)vara=0,b=0;functionf3(yield_2){switch(yield_2=b){case++a:
try{brake14;}catch(yield_2){yield_2.then;}caseconsole.log(yield_2):
}}f3(void0);// output: 0// // minify: undefined// // options: {// "mangle": false,// "output": {// "v8": true// },// "validate": true// }
The text was updated successfully, but these errors were encountered: