Show More
Commit Description:
fig bugs in login report
Commit Description:
fig bugs in login report
References:
File last commit:
Show/Diff file:
Action:
node_modules/core-js/modules/_inherit-if-required.js
| 9 lines
| 337 B
| application/javascript
| JavascriptLexer
|
r789 | 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; | ||||
}; | ||||