摘要: 以下几种暂时没时间测试,也没时间自己去实现,先记录下来 //首先给Array对象原型上添加indexOf和lastIndexOf方法.(如果没有的话)if(!Array.prototype.indexOf){ Array.prototype.indexOf = function(element, index){ var length = this.length; if(index == null)... 阅读全文
posted @ 2011-03-03 21:56 $walker 阅读(575) 评论(0) 推荐(0)