Level up Your JavaScript with .map(), .filter() and .reduce()

preview_player
Показать описание

If you're not using map, reduce and filter in your JavaScript, you're missing out on three of the most powerful array methods available in the language.

In this video, you will learn how to use map, reduce and filter with plenty of examples and as always, some hot tips.

All three methods share two basic principles:
- Firstly, they do not mutate the original array, they will always return a new array or value.
- Secondly, they get their values by iterating over each item in the array and applying a function that you provide.

🌎 Follow me here:
Рекомендации по теме
Комментарии
Автор

Nice and simple compare/contrast of each function, thanks!

QazJer