+ 18
for (var i = value; i < number; i++/i--) { // . . . } In ES6 you can declare a variable with the "let" keyword. "Let" keyword is most used in the for loop, but unfortunately, has not a good cross-browser support. - Please, for these simple questions, try to search on Google before to ask here. -
7th May 2017, 3:13 PM
Maz
Maz - avatar