If it's not obvious how the state of the target can be checked in order to enforce the invariant, it can be checked as it is checked for all the other invariants, namely in the internal method (in our case the [[HasProperty]] internal method) of the proxy, after the hook (in our case the `has` hook) was called.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

