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 179 178 3 Infinity NaN undefined
uglified result:
evalmachine.<anonymous>:1
var _calls_=10,a=100,b=10,c=0,NaN_1=function f0(b_2,await_1,c){if(a+++{__proto__:b+1-.1-.1-.1||{},__proto__:({"\t":b_2}=a+++(0<=--_calls_&&f0(-1,NaN*((c=1+c)&&(c.async+=([]>>>4)+NaN)),2))||{})||{},done:(c+=1)+(a+++--b),[a--]:a+++{done:await_1&&"function"==typeof await_1.foo&&0<=--_calls_&&(c=1+c,38..toString(),await_1.foo)((c=1+c,(0-(await_1&&(await_1.get+=!1)))%!0),(c=1+c,(await_1=-3)%(c+=1,24..toString())-!1),/[a2][^e]+$/),in:a+++[(c=1+c,(NaN&22!==this)!=="function"),(c=1+(c+=1),(NaN!=-2<23..toString())%!1),(c=1+c,((await_1+=-0)&&(await_1+=!1))%(!1&(0^24..toString()))),(c=1+c,(-2<=("number"^23..toString()))>>((-3|this)^22/38..toString())),(c=1+c,!0&{}<=[]>=(38..toString()&&2)),(c=1+c,(await_1=1/0)&NaN*(2===[,0].length)^!0)],[--b+("function"==typeof b_2&&0<=--_calls_&&b_2(-5,38..toString(),"number"))]:a+++delete a,static:a+++(c&&([c.then]=[!1]))*(!1|"object"^24..toString())},static:[(c+=1)+(-1 in{[(c=1+c,(38..toString()%"number">>2)-((c&&(c.Infinity=-7))>>NaN))]:(c=1+c,b_2&&(b_2.u
SyntaxError: Duplicate __proto__ fields are not allowed in object literals
at createScript (vm.js:80:10)
at Object.runInContext (vm.js:119:10)
at run_code_vm (/home/runner/work/UglifyJS/UglifyJS/test/sandbox.js:257:12)
at Object.exports.run_code (/home/runner/work/UglifyJS/UglifyJS/test/sandbox.js:37:16)
at run_code (/home/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2063:20)
at /home/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2449:29
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2440:20)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
// reduced test case (output will differ)// (beautified)if({__proto__: 0,
...{__proto__: 0()}}[0]){brake3;}// output: TypeError: 0 is not a function// minify: SyntaxError: Duplicate __proto__ fields are not allowed in object literals// options: {// "mangle": false,// "output": {// "v8": true// },// "validate": true// }
The text was updated successfully, but these errors were encountered: