aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/es6/readOnlyError.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/es6/readOnlyError.js')
-rw-r--r--node_modules/@babel/runtime/helpers/es6/readOnlyError.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/es6/readOnlyError.js b/node_modules/@babel/runtime/helpers/es6/readOnlyError.js
new file mode 100644
index 00000000..45d01d72
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/es6/readOnlyError.js
@@ -0,0 +1,3 @@
+export default function _readOnlyError(name) {
+ throw new Error("\"" + name + "\" is read-only");
+} \ No newline at end of file