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

Reply via email to