DEV Community

Srajan Gupta
Srajan Gupta

Posted on

map, filter and reduce functions in JavaScript

The .map(), .filter() and .reduce() functions in JavaScript are 3 most very useful functions in JavaScript.

The common thing between them is that they are Array functions and the difference between them is in their return type.

Discussion (0)