Date.prototype.toISOString and Invalid Date

John Cowan cowan at ccil.org
Tue Jun 9 18:14:02 PDT 2009


Allen Wirfs-Brock scripsit:

> Currently, implementations are inconsistent about what they produce for
> (new Date(NaN).toString()).  IE and Opera produce "NaN", while FF and
> Safari produce "Invalid Date".

Rhino says "Invalid Date" too.

-- 
Normally I can handle panic attacks on my own;   John Cowan <cowan at ccil.org>
but panic is, at the moment, a way of life.      http://www.ccil.org/~cowan


More information about the es5-discuss mailing list