mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-24 04:36:31 +00:00
18 lines
830 B
JavaScript
18 lines
830 B
JavaScript
|
var superPropBase = require("./superPropBase.js");
|
||
|
function _get() {
|
||
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
||
|
module.exports = _get = Reflect.get.bind(), 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;
|