Question 7 of 10Pro Only
Explain the difference between map(), filter(), and reduce() in JavaScript. When would you use each?
Sample answer preview
## Overview These are three fundamental array methods for functional programming in JavaScript. They don't mutate the original array. ## map() - Transform each element Returns a new array with transformed elements (same length).
mapfilterreducefunctional programmingarray methodsimmutability