Suppose you need to generate an array of numbers from 0 to 99. How might you do this? Here’s one option: If you’re like me, seeing a traditional for-loop in JavaScript makes you slightly uncomfortable….
Source: https://itnext.io/heres-why-mapping-a-constructed-array-doesn-t-work-in-javascript-f1195138615a