codeboot
codeboot copied to clipboard
Writing to an undeclared variable should give an error
This may be too much of a restriction of the JS semantics to be usable. It would mean that variables always have to be declared with an initializer (i.e. "var foo = 123;"). Perhaps this can be one of the beginner language levels.