为什么 ++[[]][+[]]+[+[]] = 10 ?

发布:2012-01-29 09:07   点击702次   评论:0

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>js</title>
</head>
<body>
<pre>
http://simpleframework.net/news/v/83570.html
关于年长程序员的5个误传

http://simpleframework.net/news/v/83574.html
为什么 ++[[]][+[]]+[+[]] = 10 ?


</pre>
++[[]][+[]]+[+[]]
=
<span id="test01"></span>
<script type="text/javascript">
var v = ++[[]][+[]]+[+[]];
document.getElementById(''test01'').innerHTML = v;
//alert(v);

//var flag = getPara(''mod'')==''full''?'''':''none'';
//if(flag==''none'') flag=location.href.indexOf(''file:'')==0?'''':''none'';
//for(i=1;i<9;i++)
//try{ document.getElementById(''idHid0''+i).style.display=flag; }
//catch(e){}
</script>
</body>
</html>

关于 GitHub 导航 部门 反馈

提示:`/home.php`入口数据仅为演示功能,不构成任何交易凭证,也不承担相关风险和责任!

Copyright © 2011-2018 xxxxx.com All rights reserved.

Run:2.242/26.851(ms); 7(sql)/2.88(MB); comm:news/detail; Upd:2025-01-11 07:06:08