wtf js(二)

 

 大家觉得这个结果是多少:

 

console.log((!+[]+[]+![]).length);

// 9

 

what's the fuck?

 

console.log((!+[]+[]+![]));

// truefalse

 

哈哈,it's funny, isn't it?

posted on 2010-07-12 08:59 o0myself0o 阅读(18) 评论(0) 编辑 收藏

导航

公告

统计