The idea is to make code easier to read without having to wait for the latest browsers to support the new bells and whistles. Here are 3 way to solve the same example: This is supported by most (+8 ...
The .forEach() method is one of the oldest ones available and allows calling a function (a callback or arrow function) once for each array element. In this example, the function prints out each value ...