Using: while vs forEach vs map vs filter vs for vs find to loop arrays in Javascript

preview_player
Показать описание
The differences of using while, forEach, map, filter and map.

We are going to use all the possible looping functions to loop an array of people, transform its items and work
Рекомендации по теме
Комментарии
Автор

in the while you should put the i++ after the console.log because is not printing "Tom"

notanumber_
Автор

Hi, your video is the easiest for me to understand. Hope you make another video about difference between forEach and map. Many thanks!

plutonihoof