Skip to content

Commit

Permalink
Merge pull request #386 from danielsharvey/patch-1
Browse files Browse the repository at this point in the history
Correct isPlainObject()
  • Loading branch information
stevemao authored Nov 13, 2023
2 parents 57bfcef + cefa700 commit f1abfc5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2290,11 +2290,7 @@ Checks if value is a plain object, that is, an object created by the Object cons
typeof Ctor === 'function' &&
Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value)
);

var result = invert(object);
console.log(result)
// output: true
}
}
```

#### Browser Support for `Object.getPrototypeOf()`
Expand Down

0 comments on commit f1abfc5

Please sign in to comment.