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
PradeepKumar K 🚀 -
Abhishek Gupta -
Jakub Andrzejewski -
Muhammad Syakirurohman -
Top comments (0)