filmov
tv
Reduce array method - Frontend Interview Preparation

Показать описание
This video is about one of the most difficult array methods - reduce. In this video I will deeply explain how reduce works and in which situations it will be useful and you need to use it. After this video you will have clear you will have a complete understanding of how reduce works, what parameters it takes, and the features of working with it in a couple of corner cases. Enjoy)
Follow me on:
Timecodes:
00:00 - Intro
00:37 - In which situations we have to use reduce
03:08 - Step-by-step explanation of the reduce function
05:54 - Advanced usage: grouping objects by a specific field
08:57 - Review of all reduce arguments
10:36 - Quirks of reduce function and how not to produce bugs
12:46 - Summary
13:07 - Outro
Follow me on:
Timecodes:
00:00 - Intro
00:37 - In which situations we have to use reduce
03:08 - Step-by-step explanation of the reduce function
05:54 - Advanced usage: grouping objects by a specific field
08:57 - Review of all reduce arguments
10:36 - Quirks of reduce function and how not to produce bugs
12:46 - Summary
13:07 - Outro