Subj : spidermonkey: where global vars live To : mozilla-jseng@mozilla.org From : ggadwa@voyager.net (Brian Barnes) Date : Mon May 12 2003 04:04 pm I thought I knew it all, but little pieces of information keep escaping me no matter how hard Brendan tries to pound them in :) Take this script: var x=5; Where does the global reside? In the global object I initiated the standard classes on and use in CallFunction? Or in the "global object" I can get from the context with js_getglobalobject? What I'm trying to do is use the same compiled script on a standard-class initialized global object over and over with a different set of global data (instead of using 20 different global objects each with the same script). What I got now works, it just seems a bit unecessary. [>] Brian .