摘要:
javascript去除数组中的重复元素//方法1,循环数组,判断当前元素是否已存在临时数组内Array.prototype.removeRepeat = function(){ var arr = this; var tmp = [arr[0]]; for(var i=1; i-1){ con... 阅读全文
posted @ 2015-06-12 13:15
安蝶
阅读(176)
评论(0)
推荐(0)
|
摘要:
javascript去除数组中的重复元素//方法1,循环数组,判断当前元素是否已存在临时数组内Array.prototype.removeRepeat = function(){ var arr = this; var tmp = [arr[0]]; for(var i=1; i-1){ con... 阅读全文
posted @ 2015-06-12 13:15
安蝶
阅读(176)
评论(0)
推荐(0)
|