How to transform a JS array with "map"

How to transform a JS array with "map"

More to explore

Based on this image's title: “How to transform a JS array with "map"