摘要: //为数组对象增加相应的的方法,直接调用数组的removeByValue方法即可删除指定元素 Array.prototype.removeByValue = function (val) { for (var i = 0; i < this.length; i++) { if (this[i] == 阅读全文
posted @ 2017-03-28 14:09 #天行健# 阅读(519) 评论(0) 推荐(0) 编辑