summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/newArrowCheck.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/newArrowCheck.js')
-rw-r--r--school/node_modules/@babel/runtime/helpers/newArrowCheck.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/newArrowCheck.js b/school/node_modules/@babel/runtime/helpers/newArrowCheck.js
new file mode 100644
index 0000000..9c680c8
--- /dev/null
+++ b/school/node_modules/@babel/runtime/helpers/newArrowCheck.js
@@ -0,0 +1,6 @@
+function _newArrowCheck(innerThis, boundThis) {
+ if (innerThis !== boundThis) {
+ throw new TypeError("Cannot instantiate an arrow function");
+ }
+}
+module.exports = _newArrowCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file