diff options
Diffstat (limited to 'node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gpo.js')
-rw-r--r-- | node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gpo.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gpo.js b/node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gpo.js deleted file mode 100644 index 27f2a94e8..000000000 --- a/node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gpo.js +++ /dev/null @@ -1,13 +0,0 @@ -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = require('./_has'); -var toObject = require('./_to-object'); -var IE_PROTO = require('./_shared-key')('IE_PROTO'); -var ObjectProto = Object.prototype; - -module.exports = Object.getPrototypeOf || function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectProto : null; -}; |