forEach
forEach:遍历,循环数组
var arr=[1,2,3,4]; arr.forEach(alert); /*等同于for循环*/ for(var i=0;i<arr.length;i++){ alter(arr[i]); }
map
filter
some
every
indexOf
lastIndexOf
reduce
reduceRight
ECMAScript5 之Array
原文:http://www.cnblogs.com/lifeisok/p/5503378.html