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  阅读(159)  评论(0编辑  收藏  举报

导航