Skip to content

Commit

Permalink
[Robustness] use a null object just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 26, 2023
1 parent 3ee754a commit 675af5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -8,6 +8,7 @@ var hasOwn = function has(obj, key) {

// accessor descriptor properties
var accessor = {
__proto__: null,
configurable: 'boolean',
enumerable: 'boolean',
get: 'function',
Expand Down

0 comments on commit 675af5b

Please sign in to comment.