There is a fairly new method which has been added to the Array object in JavaScript. It is known as the forEach( ) method.
It will call a function once for each element in the array. The function will have direct access to the array element, the index number, and the entire array.
На этой странице сайта вы можете посмотреть видео онлайн JavaScript Array forEach Method длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Steve Griffith - Prof3ssorSt3v3 01 Август 2016, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 93,081 раз и оно понравилось 1.8 тысяч зрителям. Приятного просмотра!