Not running a for loop in js?

deploy the tag for ( click the TAB) gives a design figure 1J9nXhJJbDrc.jpg

specify values and try to display the figure 2 iHxTwXmVe3k.jpg

error figure 3 35ahpx7XKiY.jpg
this error disappears and everything works fine if I remove (length), but then the question is why emmit with him reveals the tag FOR
August 23rd 19 at 10:31
2 answers
August 23rd 19 at 10:33
Solution
What 4.length? The length function does not work with the numeric type, and why you know the length of the numbers?
August 23rd 19 at 10:35
teach js. and fucking through window sublime
here is the syntax of the for loop https://learn.javascript.ru/while-for#цикл-for

Find more questions by tags JavaScript