A Deeper Dive Into JavaScript Arrays
The 5th edition of ECMA-262 standard aka ES5 introduced really useful methods of the built-in Array object : forEach, every, some, filter, map, reduce, reduceRight. The only problem is that they may not be present in all implementations of the standard, for example…