Duplicate property names (was Re: @@new)
Mark Miller
erights at gmail.com
Thu Jun 19 09:07:39 PDT 2014
Regarding Domenic's question:
Domenic Denicola wrote:
>>>
>>>> Another way of guiding the decision: I don't quite recall where the
>>>> spec landed `{ x: 1, ["x"]: 2 }`, but we should probably be consistent with
>>>> that.
>>>>
>>>
>>>
The initial value of the x property would be 2. It should not be observable
that it was 1 at an intermediate stage of the initialization.
--
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140619/a58a816e/attachment-0001.html>
More information about the es-discuss
mailing list