diff --git a/index.js b/index.js index 969cab7..95079ec 100644 --- a/index.js +++ b/index.js @@ -6,5 +6,5 @@ module.exports = value => { } const prototype = Object.getPrototypeOf(value); - return prototype === null || prototype === Object.getPrototypeOf({}); + return prototype === null || prototype === Object.prototype; };