Array iteration methods
Widely available
Array iteration methods To learn more, see Array.prototype.every(), Array.prototype.filter(), Array.prototype.forEach(), Array.prototype.indexOf(), Array.prototype.lastIndexOf(), Array.prototype.map(), Array.prototype.reduce(), Array.prototype.reduceRight(), Array.prototype.some() at MDN.
Compatibility
- Chrome 3 Released on 2009-09-15
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 3 Released on 2008-06-17
- Firefox for Android 4 Released on 2011-03-29
- Safari 4 Released on 2009-06-08
- Safari on iOS 3.2 Released on 2010-04-03
Specifications
- ECMAScript Language Specification (#sec-array.prototype.every), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-array.prototype.filter), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-array.prototype.foreach), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-array.prototype.indexof), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-array.prototype.lastindexof), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-array.prototype.map), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-array.prototype.reduce), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-array.prototype.reduceright), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-array.prototype.some), from TC39 (Ecma International).