Subj : Re: Proper behavior of uneval(-0.0) ? To : netscape.public.mozilla.jseng From : Igor Bukanov Date : Thu Nov 13 2003 05:03 pm Brendan Eich wrote: .... > See the attached patch, let me know what you think. Well, then I will make uneval(-0) in Rhino to produce -0. Yet another question about uneval. AFAICS in SM the following property holds for most usages of uneval: uneval(x) == uneval(eval(uneval(x))) or at least uneval(x) gives string that is a syntactically correct JS that tries its best to archive equality of eval(uneval(x)) with x. But it does not work for native functions as uneval(Math.sin) produces function sin() {[native code]} which is not valid JS. So what is the real goal of uneval? Regards, Igor .