4 ms·
This is great. Especially now, Javascript's a great language to learn and possibly is directly useful to many people. A suggestion is to gently scold users who
by bburky 15y ago
This is great. Especially now, Javascript's a great language to learn and possibly is directly useful to many people.
A suggestion is to gently scold users who do a variety of "bad javascript" things. You may want to let them know that what they did works, but may cause problems somehow.
The first item that comes to mind is accidentally making global variables by leaving out the `var` when creating new variables.
Also encourage users to end lines with semicolons (maybe only when using an editor).
Currently, if you do these things you can pass the exercises anyway. Arguably you shouldn't be able to pass "Let's Try That Again" in "Variables" if you do it with a global variable.