JavaScript Arrays

The forEach() Method

forEach() calls a function for each element in an array:

Multiply the value of each element with 10: