You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
828 B
23 lines
828 B
3 years ago
|
var superPropBase = require("./superPropBase.js");
|
||
|
|
||
|
function _get() {
|
||
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
||
|
module.exports = _get = Reflect.get, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
||
|
} else {
|
||
|
module.exports = _get = function _get(target, property, receiver) {
|
||
|
var base = superPropBase(target, property);
|
||
|
if (!base) return;
|
||
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
||
|
|
||
|
if (desc.get) {
|
||
|
return desc.get.call(arguments.length < 3 ? target : receiver);
|
||
|
}
|
||
|
|
||
|
return desc.value;
|
||
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
||
|
}
|
||
|
|
||
|
return _get.apply(this, arguments);
|
||
|
}
|
||
|
|
||
|
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
|