ES3.1 Object static methods rationale document

Garrett Smith dhtmlkitchen at gmail.com
Fri Jul 18 12:33:31 PDT 2008


On Wed, Jul 16, 2008 at 5:50 PM, Maciej Stachowiak <mjs at apple.com> wrote:
>
> On Jul 16, 2008, at 4:10 PM, Allen Wirfs-Brock wrote:
>
[snip]

>
> 1) It seems like Object.clone as you have described it is not suitable
> for the "mixin" type use case where an object gets properties/methods
> from two others. Or at least, it only does half the job.
>

It seems like Object.clone might create compatibility with existing
code. There is already a widespread use of an Object.clone on the web.

Has this been considered?

Garrett

> Regards,
> Maciej



More information about the Es4-discuss mailing list