summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js')
-rw-r--r--alarm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js b/alarm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js
new file mode 100644
index 0000000..d7b1ca1
--- /dev/null
+++ b/alarm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js
@@ -0,0 +1,10 @@
+export default function _iterableToArrayLimitLoose(arr, i) {
+ var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
+ if (_i == null) return;
+ var _arr = [];
+ for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) {
+ _arr.push(_step.value);
+ if (i && _arr.length === i) break;
+ }
+ return _arr;
+} \ No newline at end of file