Fixes #3799 hasOwnProperty is now called through Object.prototype
If Object.create('null') is used to create the object, it loses the prototype. Calling hasOwnProperty through Object.prototype ensures that hasOwnProperty is safely called. For further details, refer to the comments on the issue.
Showing
with
4 additions
and
4 deletions
-
Please register or sign in to post a comment