On Mon, May 20, 2013 at 11:24 PM, Sam Tobin-Hochstadt <[email protected]> wrote:
> Is it possible for the environment to change the Map during the turn?
>
> IOW, is this always true?
>
> m.set("x", 1);
> assert(m.get("x") === 1);

Your example is not a restatement of your question.

Yes, the "environment" can change the map during the turn.  But the
map isn't affected by arbitrary things in the "environment" - it just
shares its internal data with another object which is also user
read/writeable.  The only way the map can change without a .set() call
is if your code does some CSSOM manipulation that changes the custom
properties in the associated style rule.

~TJ
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to