DEV Community

Discussion on: What’s your alternative solution? Challenge #1

Collapse
 
khuongduybui profile image
Duy K. Bui

new Array(10).fill().forEach((value, index) => console.log(index + 1))