View Single Post
Old 04-24-2009, 11:36 AM   #4 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

He may be trying to show that top level variables are automatically made global (because JS has no linker, so throws it all into a global namespace), thus setting the stage to explain cyclic references in closures and why they happen.

I may be wrong ofc.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote