Quentin “Armaldio” Goinaud
Armaldio

Armaldio

Series

TinyJS


Articles in this series

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...