map() creates a new array that contains the result of invoking map()’s function argument on each item of the calling array.
An impure function is a function that contains one or more side effects. A pure function is a function without any side effects.
The spread operator helps to expand iterables into individual elements. It is effective only when used within an array, function, or object.