diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-05-14 14:05:49 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-05-14 14:05:49 +0800 |
| commit | 06823fbf1c2e763a5bf76c3990ca98fbbcd98691 (patch) | |
| tree | 4280bece3888d12a022093bf1a9cd1b049393602 /node_modules/@babel/runtime/helpers/regeneratorRuntime.js | |
| parent | 1368909b3cd552dbb0d12d5863c597f5be46177d (diff) | |
updated node_modules
Diffstat (limited to 'node_modules/@babel/runtime/helpers/regeneratorRuntime.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/regeneratorRuntime.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/@babel/runtime/helpers/regeneratorRuntime.js b/node_modules/@babel/runtime/helpers/regeneratorRuntime.js index 0801b064..f33e4945 100644 --- a/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +++ b/node_modules/@babel/runtime/helpers/regeneratorRuntime.js @@ -108,7 +108,7 @@ function _regeneratorRuntime() { function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { - if (o === f) throw new Error("Generator is already running"); + if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { @@ -250,7 +250,7 @@ function _regeneratorRuntime() { } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { - if (!u) throw new Error("try statement without catch or finally"); + if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } @@ -290,7 +290,7 @@ function _regeneratorRuntime() { return o; } } - throw new Error("illegal catch attempt"); + throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { |
