Subj : Error in decompiling To : netscape.public.mozilla.jseng From : Adrian Klein Date : Sun Jan 18 2004 05:20 pm Assume a function defined as: function do_something() { var obj = new Object(); obj['name'] = 'Just a name'; obj['if'] = false; obj['some text'] = 'correct'; } do_something.toString(), do_something.String() or uneval(do_something) will be resolved to something like this (with varying formating): function do_something() { var obj = new Object(); obj.name = 'Just a name'; obj.if = false; obj['some text'] = 'correct'; } I think this seems like a bug in the decompiling part of the Spidermonkey Engine, because it does not check if the name of a object property is a reserved keyword, so that it should not be refered to with the 'object.property' syntax. (Tested on Mozilla 1.5, 1.6) .