+ 1

How can i solved this

Var x = 0 for (;x<= --; x+= --){ Document.write(x); }

5th Apr 2021, 7:55 PM
Junayet Khan
Junayet Khan - avatar
1 Answer
+ 1
That looks like JavaScript and JavaScript is case sensitive. This will work instead: var x = 0 for (;x<= 10; x+= 1){ document.write(x); }
5th Apr 2021, 9:36 PM
Josh Greig
Josh Greig - avatar