map, reduce and filter
map, filter and reduce are higher-order functions in javascript. Each one will iterate over an array and perform a transformation or computation. Each will return a new array based on the result of the function.
map()
The map() is used to transform a...
twinkalp10.hashnode.dev3 min read