Subj : Re: SpiderMonkey's Funky GC and me To : netscape.public.mozilla.jseng From : Brendan Eich Date : Wed Mar 23 2005 10:01 am Alex wrote: > well > > I have this script: > > var strdef = "psittacisme ?"; > var intdef = 42; > var dbldef = 8.6; > var truedef = true; > var falsedef = false; > > if i run my script, invoke the gc system and try to get dbldef's value, i > get an int (under linux), or a string (under solaris). What do you mean by try to get dbldef's value? What code do you use to run the script, and what keeps the object in which these variables are defined alive across the GC? /be .