aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js')
-rw-r--r--node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js b/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js
new file mode 100644
index 0000000..527c682
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js
@@ -0,0 +1,9 @@
+import arrayLikeToArray from "./arrayLikeToArray.js";
+function _maybeArrayLike(r, a, e) {
+ if (a && !Array.isArray(a) && "number" == typeof a.length) {
+ var y = a.length;
+ return arrayLikeToArray(a, void 0 !== e && e < y ? e : y);
+ }
+ return r(a, e);
+}
+export { _maybeArrayLike as default }; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage