Skip to content

Commit cefa700

Browse files
Correct isPlainObject()
Removed unintended code from `isPlainObject`. See comment you-dont-need#384 (review).
1 parent 57bfcef commit cefa700

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2290,11 +2290,7 @@ Checks if value is a plain object, that is, an object created by the Object cons
22902290
typeof Ctor === 'function' &&
22912291
Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value)
22922292
);
2293-
2294-
var result = invert(object);
2295-
console.log(result)
2296-
// output: true
2297-
}
2293+
}
22982294
```
22992295

23002296
#### Browser Support for `Object.getPrototypeOf()`

0 commit comments

Comments
 (0)