summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/esm/superPropBase.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/esm/superPropBase.js')
-rw-r--r--school/node_modules/@babel/runtime/helpers/esm/superPropBase.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/esm/superPropBase.js b/school/node_modules/@babel/runtime/helpers/esm/superPropBase.js
new file mode 100644
index 0000000..605724d
--- /dev/null
+++ b/school/node_modules/@babel/runtime/helpers/esm/superPropBase.js
@@ -0,0 +1,8 @@
+import getPrototypeOf from "./getPrototypeOf.js";
+export default function _superPropBase(object, property) {
+ while (!Object.prototype.hasOwnProperty.call(object, property)) {
+ object = getPrototypeOf(object);
+ if (object === null) break;
+ }
+ return object;
+} \ No newline at end of file