How would I create a for-loop in Node.js

for(let j=0,l=10; j<l; j++){
       console.log(j);
}

prints

0
1
2
3
4
5
6
7
8
9

but not 10

Leave a Comment