DEV Community

Discussion on: Higher Order Functions in JS

Collapse
 
umashankar_s profile image
Umashankar S • Edited

Yes, That is correct. we should not touch the Array prototypes (we should not mutate that).
But Just I'm explaining that how we can create our own functions like maps using the Higher order functions. Yes, we can use the modern arrow functions , instead of normal functions.

Thanks for your suggestions :)

Some comments have been hidden by the post's author - find out more