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 102 101 11 Infinity NaN undefined
uglified result:
evalmachine.<anonymous>:1
(function(){var r=10,N=100,n=10,h=0;(function f0(f,c){--n+ +n?(N++,((h+=1)+N++||n||5).toString(),{"-2":void 0,done:void function a_1(){h=1+((h=1+(1+(1+h)))+1)}(),set then(n){this.next=!1}}[!(((f&&({[(h=1+h,h+=1,4)]:f.done}={then:6}))==(c&&(c[h=1+h,f&&(f[24]=((2<3n)<<"b"|!1)>>>-0)]&=0)))-((c&&(c.Infinity+=""+-42n|-2))>=(f&&(f[h=1+h,0|0==(f&&(f.foo+=!0))]-=!1))))],n=N,h+=1,--n):(h+=1,function f1(t=-5,n,o){var i=function f2(n,t,o){for(var i,e,a=5;N&&0<--a;)h=1+h,("a"^this)<<5?(h=1+h,h+=1):h=1+h;for(i=5;"function"==typeof o&&0<=--r&&o((h=1+h,NaN>>>(t&&(t[N]**=-4))),(h=1+h,-5*(0<=(h+=1,!0))))&&0<--i;)for(e=5;h=1+h,23<=(o&&(o[N+++(h=1+h,(t="bobject"<(!1<=(2===[,0].length)))>>>!0?(h=1+h,0):(h=1+h,1))]+=-0))&&0<e;--e)h=1+h,t&&(t[N+++!1]>>=!1^(n&&(n[h=1+h,0]+=0),!0))}("38",(h+=1)+/[abc4]/.test((--a+(""+{1.5:(h=1+h,o&&(o[a]+=NaN)&&-23/!1),length:0,null:!1<<(-5<=5*(""+-42n)),in:(h=1+(1+(1+h)),(o&&(o[{}]=!1))/void 0),NaN_1:o})||a||5).toString()),"function"),e=function f3(){try{for(var n in h=1+h,h+=1,!1)h=1+(h=1+h),t&&(t[h=1+h,h+=1,(c&&(c[h=1+h,NaN<<(t&&(t.done=1<+(""+(0xdeadn<<16n|0xbeefn))))>>39]=NaN))>>(f&&(f[(h+=1)+/[abc4]/g.exec((h=1+h,((void 0^this)*(-2 in!1)||a||5).toString()))]-=(h+=1,"">>(this>>-0))))]-=0)}catch(n){h=1+(h=1+h)}finally{h=1+h,t&&(t.c=NaN),h=1+h}}(a=++N,(--a,h=1+((h=1+h)+1),t&&(t.done=!1),f&&(f.foo>>=-23-(5!==(2===[,0].length))),h=1+(1+h),i&&(i[--a+a]**=!1&NaN%(n=0)),h=1+h,t&&(t["bar"in[!1,(h=1+(1+h),(n&&(n.undefined=NaN))<!0||0)]]<<=24/0),--a,h=1+h,({ url: "https://example.com/path/index.html" }))),a=function f4(){var n;for(h+=1,n=5;(h+=1)+("function"==typeof e&&0<=--r&&e`${h=1+h,(o>>>="number")+!1>(t&&(t.static=("bar"&2===[,0].length)<=!0))}${h=1+h,!0!==(f*=!1)}${h=1+h,(0==null<<this)>>0}`)&&0<n;--n)h=1+(1+h)}();!function f5(n,t){switch(h=1+h,t&&(t.get%=!1>>>(this<="foo")),h=1+h,(h+=1)+{next:(e??=1)>>>!1>((2===[,0].length)>>>"38"<2),a:!0,c:0,b:(h=1+(1+((h=1+(1+h))+1)),0)}){case(h+=1)+[(h=1+h,!0*(/[a2][^e]+$/+!0o644n||3))].static:h=1+h,f&&(f[(""+!0)[h=1+((h=1+h)+1),0|(h+=1,7<this)]]|=1)||o&&(o.then=(e+=25)/(h+=1,"23")),h=1+h;break;case!1>>(1!=(h+=1,"24")):h=1+h,n&&(n.null=!0o644n&&"bar"),o&&(o[h=1+h,!1]||=0);break;case N--:h=1+h,n&&(n.get+=(""+-42n===/[a2][^e]+$/)<=NaN||!0)}}(a=N)}())})({},--n),e?.[void 0],console.log(null,N,n,h,Infinity,NaN,void 0);})();
ReferenceError: e is not defined
at evalmachine.<anonymous>:1:2247
at evalmachine.<anonymous>:1:2305
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:2077:20)
at /Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2463:29
at Array.forEach (<anonymous>)
at Object.<anonymous> (/Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2454:20)
// reduced test case (output will differ)// (beautified)vara=0;varfoo_2=functionf0(){returna;a--;}();varyield=foo_2?.[0];// output: // minify: ReferenceError: b is not defined// options: {// "compress": {// "hoist_vars": true,// "keep_infinity": true,// "passes": 1000000,// "unsafe": true// },// "keep_fnames": true,// "toplevel": true,// "output": {// "v8": true// },// "validate": true// }
The text was updated successfully, but these errors were encountered: