So I've been reading through Javascript - The Good Parts and one thing that Crockford points out is the use weakness of global variables in Javascript, in such a ...
I've run across some strangeness in JavaScript syntax that I don't understand.
I was trying to use a single anonymous global function for global abatement, like this:
I am using anonymous function assigned to a variable to minimize use of global variables. Within this function there are nested functions: one to preload and resize images, and two other ...