JSON.stringify 15.12.3, Str algorithm 9a

# Robert Sayre (17 years ago)

In describing the abstract operation Str(key, holder), the spec says

  1. 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.

# Allen Wirfs-Brock (17 years ago)

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).