+es4-discuss

On Tue, Aug 12, 2008 at 10:22, Douglas Crockford <[EMAIL PROTECTED]> wrote:
> There are currently three effective ways to change the default. That is 
> enough. The replacer is able to choose between the original value and the 
> toJSON candidate.

Changing Date.prototype.toJSON is not acceptable since it might break
other scripts on the page.

What are the other 2 ways?

-- 
erik
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to