Object.assign and exceptions (was: Object.assign and __proto__ property)

Erik Arvidsson erik.arvidsson at gmail.com
Tue Oct 22 09:43:15 PDT 2013


Thanks, that makes sense.


On Tue, Oct 22, 2013 at 11:51 AM, Allen Wirfs-Brock
<allen at wirfs-brock.com>wrote:

> On Oct 22, 2013, at 7:18 AM, André Bargull wrote:
>
>
>
> On 10/22/2013 4:00 PM, Erik Arvidsson wrote:
>
> The spec for Object.assign,
>
> ...
>
>
> What is the intention regarding exceptions? Is the intention to continue
>
> assigning properties after an exception is thrown. Why is that the
>
> desired behavior?
>
>
> I'd guess to align behaviour with Object.mixin, Object.defineProperties,
> (Object.create), Object.is{Sealed,Frozen} and Object.seal/freeze. This was
> also covered in the thread starting at
> https://mail.mozilla.org/pipermail/es-discuss/2012-December/027067.html .
>
>
>
> Exactly
>
> Allen
>
>


-- 
erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131022/76cc041c/attachment.html>


More information about the es-discuss mailing list