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