« Return to Thread: Date.prototype.toISOString and Invalid Date

Date.prototype.toISOString and Invalid Date

by Garrett :: Rate this Message:

Reply to Author | View in Thread

What is the expected result of calling toISOString on a date where the
year is NaN?

var d = new Date(NaN);
d.toISOString();

?

Garrett
_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss

 « Return to Thread: Date.prototype.toISOString and Invalid Date