iterar 0 a n usando para bucle javaScript
let n = 10
for (let i=0; i<= n; i++){
console.log(i)
}
Clumsy Capuchin
let n = 10
for (let i=0; i<= n; i++){
console.log(i)
}