I'd, for ergonomic reasons, would prefer it on Reflect. I very frequently alias this function, so having it as a static method on Reflect would be nice.
On Thu, May 26, 2016, 17:42 doodad-js Admin <[email protected]> wrote: > >> This would break a Web, a I have seen code that relies on > Object.hasOwnProperty === Object.prototype.hasOwnProperty > > Sorry, I didn’t remember that the constructor inherits it. > > >> Anyway, it would be handy to have such function as `Reflect.hasOwn` or > something like that. > > Yeah, maybe that then. Or “System.ObjectHasOwn” or else. > > Thanks > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

