Subj : Re: SeaMonkey: Global properties To : netscape.public.mozilla.jseng From : Brendan Eich Date : Wed Mar 05 2003 03:21 pm Brendan Eich wrote: > Anatoly Kochergin wrote: > >> from js console: >> ----------------------------- >> >a=1 >> 1 >> >a.a=1 >> 1 > > > The number 1 stored in the global property (or global variable, if you > like) a is here wrapped with an instance of the Number class, as if > you wrote Number(1).a = 1. Oops, I meant to write "as if you wrote new Number(1).a = 1". /be .