0
Why every js editor stopped in mobile when I use this for(i=10;i>=-10;i--){ document.write(i+"<br/>"); } ?
for(i=10; i>=-10; i--){ document.write(i+"<br/>"); }
2 Answers
+ 3
What kind of editor you use for testing?
Here you use document.write what is command for writing inside web document not console.
If you wanna see inside console use console.log(), maybe thats why you have problem, code is working just fine on sololearn
+ 1
But working in Sololearn