Subj : Re: how to assign to a dynamic global variable? To : netscape.public.mozilla.jseng From : Jun Yang Date : Wed Aug 31 2005 11:07 pm Thanks, Michael! Jun Michael Daumling wrote: > For global functions, "this" is the global object, so you can do: > > function assignToGlobal (name, value) { > this [name] = value; > } > .