Thanks, Both Crock and I agree with you, so I'll add this to the Errata 9.a should be: a. If value is finite then return ToString(value).
Allen >-----Original Message----- >From: es-discuss-boun...@mozilla.org [mailto:es-discuss- >boun...@mozilla.org] On Behalf Of Robert Sayre >Sent: Thursday, March 05, 2009 10:03 AM >To: es-discuss >Subject: JSON.stringify 15.12.3, Str algorithm 9a > >In describing the abstract operation Str(key, holder), the spec says > >9. If Type(value) is number > a. If value is finite then return value. > b. else, return "null" > >Perhaps I am misreading, but this looks like a bug to me, since Str >should return a string. > >-- > >Robert Sayre > >"I would have written a shorter letter, but I did not have the time." >_______________________________________________ >Es-discuss mailing list >Es-discuss@mozilla.org >https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ Es-discuss mailing list Es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss