Overriding Map/etc with get/set hooks?

Sam Tobin-Hochstadt samth at ccs.neu.edu
Mon May 20 23:10:59 PDT 2013


On Mon, May 20, 2013 at 10:32 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
>
> All of these are easy to do if this is just a Map (or has Map on its
> prototype chain), but with a custom [[MapData]] whose behavior is
> defined by my spec.

Would another way to think about this be as a regular plain-old Map,
but which is updated imperatively by the environment sometimes, and is
also read by the environment?  Or does changing the map also change
some part of the style of the page _immediately_, rather than at the
end of the turn?

Sam


More information about the es-discuss mailing list