Le 19/12/2011 11:03, Tom Van Cutsem a écrit : > (...) > Separate getPrivate/setPrivate traps would avoid this confusion: > (...) One thing that is unsaid in the current proposal is whether private names can be used with Object.defineProperty and Object.getOwnPropertyDescriptor. I think that private getters and setters would be awesome. But it would mean that the "private handler API" would need to be extend to 'definePrivateProperty', 'getOwnPrivatePropertyDescriptor' (and 'deletePrivate' as well)
David _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

