Same as ever (backward compatibility): NaN.
/be
On Jul 28, 2007, at 8:19 AM, [EMAIL PROTECTED] wrote:
> On 7/23/07, Brendan Eich <[EMAIL PROTECTED]> wrote:
>> On Jul 23, 2007, at 10:23 AM, [EMAIL PROTECTED] wrote:
>>> In the public Date/time proposal, the Date.parse static method
>>> returns a Date. This is a bit odd, because the current javascript
>>> Date.parse method returns a number (nr. of ms since epoch). Is this
>>> by design?
>>
>> That's a mistake, which Lars noticed and corrected recently.
>
> OK, that's clear. But does Date.parse("2007-07-28") raise a
> SyntaxError, or does it return NaN?
> --
> |\
> | \
> |_/oeke
> [EMAIL PROTECTED]
> _______________________________________________
> Es4-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es4-discuss
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss