Date.prototype.toISOString and Invalid Date

Garrett Smith dhtmlkitchen at gmail.com
Sat Jun 6 00:39:33 PDT 2009


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

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

?

Garrett


More information about the es-discuss mailing list