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
Noureddine Belguinan -
codemee -
Shafayet Hossain -
This Dot Media -
Top comments (0)