Suggestion: "Object.hasOwnProperty"

doodad-js Admin doodadjs at
Thu May 26 21:42:01 UTC 2016

>> 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list