最后活跃于 1 month ago

If JavaScript doesn't suck, then try to tell what will this program output. (you can do anything you want like beautifying it but you can't run it)

HGStyle 修订了这个 Gist 10 months ago. 转到此修订

1 file changed, 1 insertion

javascriptsucks.js(文件已创建)

@@ -0,0 +1 @@
1 + (()=>{let _;for(let i=0;i<10;(($)=>{})(i-1)){(($)=>{_=[Array(i)].map((_)=>{_.length+(+typeof undefined)})+($+parseInt($.toString()+(true/10)))+(typeof NaN+!$)+(typeof(null&""))+(_*-i||_)+$+[]+{}+!i+([i.toString()].map(parseInt))+(--i)+(i++)+i})(i++)/parseInt.length+parseInt.toString()};console.log((_+0*Infinity).replace(/\[/,_+[]));})();
上一页 下一页