22e8e170e63ba7ba8bb127be16a120bf.json
2.5 KB
{"ast":null,"code":"var has = require('../internals/has');\n\nvar toObject = require('../internals/to-object');\n\nvar sharedKey = require('../internals/shared-key');\n\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype; // `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\n\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n }\n\n return O instanceof Object ? ObjectPrototype : null;\n};","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/core-js-pure/internals/object-get-prototype-of.js"],"names":["has","require","toObject","sharedKey","CORRECT_PROTOTYPE_GETTER","IE_PROTO","ObjectPrototype","Object","prototype","module","exports","getPrototypeOf","O","constructor"],"mappings":"AAAA,IAAIA,GAAG,GAAGC,OAAO,CAAC,kBAAD,CAAjB;;AACA,IAAIC,QAAQ,GAAGD,OAAO,CAAC,wBAAD,CAAtB;;AACA,IAAIE,SAAS,GAAGF,OAAO,CAAC,yBAAD,CAAvB;;AACA,IAAIG,wBAAwB,GAAGH,OAAO,CAAC,uCAAD,CAAtC;;AAEA,IAAII,QAAQ,GAAGF,SAAS,CAAC,UAAD,CAAxB;AACA,IAAIG,eAAe,GAAGC,MAAM,CAACC,SAA7B,C,CAEA;AACA;;AACAC,MAAM,CAACC,OAAP,GAAiBN,wBAAwB,GAAGG,MAAM,CAACI,cAAV,GAA2B,UAAUC,CAAV,EAAa;AAC/EA,EAAAA,CAAC,GAAGV,QAAQ,CAACU,CAAD,CAAZ;AACA,MAAIZ,GAAG,CAACY,CAAD,EAAIP,QAAJ,CAAP,EAAsB,OAAOO,CAAC,CAACP,QAAD,CAAR;;AACtB,MAAI,OAAOO,CAAC,CAACC,WAAT,IAAwB,UAAxB,IAAsCD,CAAC,YAAYA,CAAC,CAACC,WAAzD,EAAsE;AACpE,WAAOD,CAAC,CAACC,WAAF,CAAcL,SAArB;AACD;;AAAC,SAAOI,CAAC,YAAYL,MAAb,GAAsBD,eAAtB,GAAwC,IAA/C;AACH,CAND","sourcesContent":["var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n"]},"metadata":{},"sourceType":"script"}