Creates an array with the results of calling a function on every element.
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.
Loved by over 200,000 developers