-6

I'm not very knowledged in node.js and i'm trying to create a for-loop, is there any way I can do this without it being super complex?

Paul
  • 26,170
  • 12
  • 85
  • 119
  • This is not the right place to ask about resources. But doing a for loop is javascript is easy... it does not have to do with node.js at all. [see](https://www.tutorialspoint.com/javascript/javascript_for_loop.htm) – WilomGfx May 09 '17 at 01:15
  • Please refer to : https://stackoverflow.com/help/how-to-ask – WilomGfx May 09 '17 at 01:17
  • https://en.wikipedia.org/wiki/For_loop#1995:_JavaScript – Pang May 09 '17 at 01:23
  • http://stackoverflow.com/questions/3010840/loop-through-an-array-in-javascript – Pang May 09 '17 at 01:27

1 Answers1

0
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

Paul
  • 26,170
  • 12
  • 85
  • 119