2011/10/7 Juan Ignacio Dopazo <dopazo.j...@gmail.com>

>
> On Fri, Oct 7, 2011 at 12:34 PM, Axel Rauschmayer <a...@rauschma.de>
>  wrote:
>
>> I would prefer the name Object.copyOwnPropertiesTo(source, target) or
>> Object.copyOwnTo(source, target) to the name “extend” (which, to me,
>> suggests inheritance).
>>
>>        --
>> Dr. Axel Rauschmayer
>>
>> I also think Object.extend suggests inheritance. Other possibilities would
> be:
>
> Object.merge()
>

`Object.merge()' suggests a pure function though, which I don't think would
be a bad thing at all.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to