数组的.pushArray方法增加过滤
parent
6d61e12c58
commit
ab32fb611e
|
@ -31,7 +31,7 @@ var newProto = {
|
|||
return this
|
||||
},
|
||||
pushArray: function(arr) {
|
||||
return this.push.apply(this, arr)
|
||||
return this.push.apply(this, toJson(arr))
|
||||
},
|
||||
remove: function(el) {
|
||||
//移除第一个等于给定值的元素
|
||||
|
|
Reference in New Issue