+ 3
Explanation
for (i=1, text=""; i<=5; i++) { text = i; document.write(i + "<br />"); } In the code above, what is the essence of text in the first statement? Also what does "<br />" stand for there?
3 Réponses
+ 6
<br /> is for a new line, jump line
+ 4
the text variable is best removed
+ 1
@eric blinkidu why?