aswi2020vldc-gitlab/templetes/node_modules/@babel/runtime/helpers/superPropBase.js @ 3a515b92
1 |
var getPrototypeOf = require("./getPrototypeOf"); |
---|---|
2 |
|
3 |
function _superPropBase(object, property) { |
4 |
while (!Object.prototype.hasOwnProperty.call(object, property)) { |
5 |
object = getPrototypeOf(object); |
6 |
if (object === null) break; |
7 |
}
|
8 |
|
9 |
return object; |
10 |
}
|
11 |
|
12 |
module.exports = _superPropBase; |