What I mean is: If you set x via something like : var x = 10;
then 'magically' window.x is 10 On 22 Feb, 20:23, Elijah Insua <[email protected]> wrote: > var x = window.x = "hello"; > > On Sat, Feb 21, 2009 at 3:23 PM, weepy <[email protected]> wrote: > > > What's the mechanism by which a variable is available both by it's > > name and also as a property of 'window' > > > I.e. > > > var x = "hello" > > > window.x => "hello" > > > ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
