mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 20:30:04 +02:00
add some packages
This commit is contained in:
13
node_modules/core-js/modules/_object-gpo.js
generated
vendored
Normal file
13
node_modules/core-js/modules/_object-gpo.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// 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;
|
||||
};
|
Reference in New Issue
Block a user