Configring node js.
This commit is contained in:
8
node_modules/core-js/modules/_inherit-if-required.js
generated
vendored
Normal file
8
node_modules/core-js/modules/_inherit-if-required.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var isObject = require('./_is-object')
|
||||
, setPrototypeOf = require('./_set-proto').set;
|
||||
module.exports = function(that, target, C){
|
||||
var P, S = target.constructor;
|
||||
if(S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf){
|
||||
setPrototypeOf(that, P);
|
||||
} return that;
|
||||
};
|
||||
Reference in New Issue
Block a user