Search the web
Sign In
New User? Sign Up
json · JSON JavaScript Object Notation
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ECMAScript 5 spec - toISOString vs toJSON   Message List  
Reply | Forward Message #1291 of 1409 |
I noticed in the latest ECMAScript 5 spec that Date's toJSON is defined to
return the same string as Date's toISOString. (as of:
candidate-draft-tc39-2009-025_errata-5-19)

Does this mean that toISOString should now be defined to return "null" for NaN
dates, or that the strict 1:1 correspondence between toISOString and toJSON
should be relaxed?

I'm sorry to keep raising the issue of NaN dates, it's truly not all I think
about, I just don't want to head into our bold new scriptalicious future with
wiggle room for implementors.





Mon Jul 6, 2009 12:41 am

joel.finch...
Offline Offline
Send Email Send Email

Forward
Message #1291 of 1409 |
Expand Messages Author Sort by Date

I noticed in the latest ECMAScript 5 spec that Date's toJSON is defined to return the same string as Date's toISOString. (as of:...
joel.finch@...
joel.finch...
Offline Send Email
Jul 6, 2009
12:41 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help