Home
Home
Posted Wednesday April 16, 2008, 12:00 pm, Over one day old
First, some people read var in that position as declaring the variable in the scope of the compilation unit, similar to the way static works in C. This would be a useful reading, except that JavaScript does not have compilation unit scope.
This post digest is 7% of the original post size.
Incoming Links
The following posts link to Global Domination, Part Two:
Posted Thursday April 17, 2008, 4:42 pm, Over one day old
" /*global foo*/ foo = {}; Find out more: Global Domination, Part Two "
Posted Wednesday April 16, 2008, 2:29 pm, Over one day old
" have problems. Which is least worst? The first is to assign to a new name outside of any function. pity = {}; // The first form The second is to use the var keyword outside of any function. [?.] Read More Original Post from Douglas Crockford"
* Incoming Links data provided by Technorati
.
Sponsored