All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.modules._inherit-if-required.js Maven / Gradle / Ivy

The newest version!
var isObject = require('./_is-object');
var setPrototypeOf = require('./_set-proto').set;
module.exports = function (that, target, C) {
  var S = target.constructor;
  var P;
  if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
    setPrototypeOf(that, P);
  } return that;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy