Subj : Re: Big problem, please help... To : netscape.public.mozilla.jseng From : "Cunac" Date : Tue Nov 18 2003 01:56 pm > I don't know how you will do it -- please don't hack the engine, thereby > creating a non-standard and incompatible dialect of the language. > > If the global object (the last object on the parent-linked scope chain) > is not where variables go, then what does go there? If you wish to > share standard classes (Date, RegExp, etc.), consider linking to a > "superglobal" via the proto, not the parent, slot. No prob. There are several ideas, for example copying global objects in local scope and returning values, or disconnection of scope chain, maybe using ObjectOps, etc. I'll manage something. Thnx. .