+ 3

Why do we call foreach(),map()and filiter higher orders of array

25th Nov 2020, 6:10 PM
Maureen Muiru
Maureen Muiru - avatar
3 Antworten
+ 3
Maureen Muiru You can use the question description section to provide relevant details related to your question. Keep it in mind from now on. Those methods take a callback function as parameter. Functions that take another function as argument or return a function are usually called higher-order functions. forEach, map and filter are not the only higher-order functions present in Array.prototype, there are more.
26th Nov 2020, 5:31 AM
Kevin ★
+ 2
There methods of that object
25th Nov 2020, 7:34 PM
D_Stark
D_Stark - avatar