haitao:
看jquery的代码,一连遇到3个不懂的语法!!!
[阅读: 437] 2009-01-22 09:48:18
has: function(elem, i, match){
return !!Sizzle( match[3], elem ).length;
},
header: function(elem){
return /h\d/i.test( elem.nodeName );
},
text: function(elem){
return "text" === elem.type;
},
!!是什么?超级非??
/h\d/i是什么?不是字符串里面的。。。。。而是标识符??
===是什么?超级比较??