Do we really need the [[HasOwnProperty]] internal method and hasOwn trap
erik.arvidsson at gmail.com
Tue Nov 13 13:23:55 PST 2012
On Tue, Nov 13, 2012 at 3:25 PM, Tom Van Cutsem <tomvc.be at gmail.com> wrote:
> So, my proposal: let's revert the fundamental traps of Handler to become
> abstract methods again. This forces subclasses of Handler to provide all
> fundamentals at once, avoiding the footgun.
Maybe we should skip the derived traps for ES6 and see if the extra
allocation really becomes an issue in reality? This way we are keeping the
API smaller and the risk of errors lower. We can always add the derived
traps later, can't we?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss