J
Jang
In jslint's doc it says, "JSLint does not expect that a var will be
defined in a block. This is because JavaScript blocks do not have
block scope. This can have unexpected consequences. Define all
variables at the top of the function."
What are some of those unexpected consequences?
defined in a block. This is because JavaScript blocks do not have
block scope. This can have unexpected consequences. Define all
variables at the top of the function."
What are some of those unexpected consequences?