0

What happened here?

var a=0 for(b=1;b<=5;b+=a){ document.write(b) a++ }

17th Jul 2020, 9:01 PM
Juancho
Juancho - avatar
1 Resposta
+ 1
Well it simply writes b values to document and increment a by 1
17th Jul 2020, 10:58 PM
Abhay
Abhay - avatar