The method map is an array method that allows you to perform operations on the elements of an array. Imagine you have an array like this :
const nums = [2, 4, 3, 11, 19];
and for one reason or another, you want to get the double of each element of t...