Here's Why Mapping a Constructed Array Doesn't Work in JavaScript
And How To Do It Correctly