Subj : Re: uneval To : netscape.public.mozilla.jseng,de.comp.lang.javascript From : "Dietmar Meier" Date : Fri Apr 25 2003 01:50 am Georg Maaß wrote: > What does the global function uneval do? I know, what eval does, but > what does uneval? Where can I find documentation about that function? > The function resides inside Mozilla and the shell as well. So it seems > to be part of the language and not part of the host. I didn't find any documentation neither, but I found out that you might use uneval for serialization of objects and arrays. Here's an example: var a = new Object; a.foo = 3; a. bar = 42; alert(uneval(a)); var b = new Array(); for (var i=0; i<3; i++) { b[i] = new Array(); for (var j=0; j<2; j++) { b[i][j] = new Array(); for (var k=0; k<4; k++) b[i][j][k] = Math.floor(Math.random() * 42); } } alert(uneval(b)); f'up2 dcljs gesetzt, da ich npmj nicht lese. ciao, dhgm .