Instead of using a traditional for loop, try this:
const arr = [...Array(4).keys()] // [0, 1, 2, 3]
For further actions, you may consider blocking this person and/or reporting abuse
Instead of using a traditional for loop, try this:
const arr = [...Array(4).keys()] // [0, 1, 2, 3]
For further actions, you may consider blocking this person and/or reporting abuse
Aral Roca -
Omojola Tomiloba David -
Md. Fahim Bin Amin -
Jagroop Singh -
Top comments (0)