0
How do we write when a drill questions is not valid?
Example: for(var = 1; i < 5; i++) { } document.write(i); How do we write that it is an error when doing the challenges? I tried tk get an answer from the Chrome Console and it reads me back syntaxerror...
1 Odpowiedź
+ 4
This code's not working because the variable name is missing in the declaration/assignation part of the "for" parenthesis... but you can easily see that's normaly "var i=1;", and so you'll be blocked if only you execute the code for finding the response, else you can guess what the code do without seing the bug ;)