summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/esm/get.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/get.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/esm/get.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/get.js b/alarm/node_modules/@babel/runtime/helpers/esm/get.js
new file mode 100644
index 0000000..0705d5f
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/esm/get.js
@@ -0,0 +1,17 @@
+import superPropBase from "./superPropBase.js";
+export default function _get() {
+ if (typeof Reflect !== "undefined" && Reflect.get) {
+ _get = Reflect.get.bind();
+ } else {
+ _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;
+ };
+ }
+ return _get.apply(this, arguments);
+} \ No newline at end of file