It is possible to create an object that does not have hasOwnProperty
Example:
var data = Object.create(null);
Some other libraries will emit these kinds of objects, so we have to call hasOwnProperty through a call via Object.prototype to work with these objects.
It is possible to create an object that does not have
hasOwnProperty
Example:
Some other libraries will emit these kinds of objects, so we have to call hasOwnProperty through a
call
via Object.prototype to work with these objects.PR incoming.