July 26, 2012 TC39 Meeting Notes
Tom Van Cutsem
tomvc.be at gmail.com
Tue Sep 18 01:58:54 PDT 2012
2012/9/18 Tab Atkins Jr. <jackalmage at gmail.com>
> Changing to an unknownPrivateName() trap is interesting. It seems
> kinda weird to be a *trap*, rather than just a property on the handler
> object, though. Is there a good reason to have that be dynamic?
Well, you could indeed define it as a simple boolean-valued property (if a
use case does require a dynamic check, it could still be implemented as an
accessor). It's currently defined as a trap for general consistency (thus
far, handlers define nothing but traps).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss