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
Anwar Hossain -
ramadhan.dev -
websilvercraft -
Diego Juliao -
Top comments (0)