Armaldio

Armaldio

Subscribe to my newsletter and never miss my upcoming articles

The Map function

Feb 24, 20213 min read

Today's lesson is about the map function. What is Map ? The map function is a functional-inspired function that applies a given function to every element of an Array. How do you use it ? const array = [10, 11, 12, 13, 14]; const fn = element => eleme...