summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js')
-rw-r--r--school/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js b/school/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
deleted file mode 100644
index 6184080..0000000
--- a/school/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
+++ /dev/null
@@ -1,11 +0,0 @@
-export default function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
- return true;
- } catch (e) {
- return false;
- }
-} \ No newline at end of file