js中Array对象的常用遍历方法详解 1.forEach(),遍历数组的每个元素letarrFor=['muzi','digbig','muzidigbig','lucky']//forEach(),遍历数组的每个 array常用遍历