Subj : Re: Serializing JavaScript in spidermonkey To : netscape.public.mozilla.jseng From : Marcello Bastea-Forte Date : Wed Dec 31 2003 06:54 pm > Yes, see my post at > news://news.mozilla.org:119/3FF27935.6090803@meer.net, specifically: Ok, it seems I never sent an email I had written up in response to that. I wrote some code to test toSource and uneval: var state = new Array(); state['beat_boss'] = true; state['name'] = "j0"; state['number'] = 3; state['array'] = new Array(); state['array']['beat_boss'] = true; state['array']['name'] = "j0"; state['array']['number'] = 3; print(uneval(state)); print(state.toSource()); The output I get is: [] [] Marcello .