callable objects ?
bruant.d at gmail.com
Thu Apr 19 01:52:25 PDT 2012
Le 19/04/2012 01:54, Brandon Benvie a écrit :
> (or you simply don't trap the access, which is the route for
> [[prototype]], [[instanceof]], etc which now makes even more sense to
> me in light of this)
Not trapping seems like a valid option . The rationale for the
.public counterpart in the private name proposal is that the proxy
should not have access to the private name. However, if it doesn't
(directly or indirectly), it can't do anything useful. Under these
conditions, the trap might as well not been called.
More information about the es-discuss