diff options
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js')
-rw-r--r-- | alarm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js b/alarm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js new file mode 100644 index 0000000..602aa77 --- /dev/null +++ b/alarm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js @@ -0,0 +1,7 @@ +export default function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + return arr2; +}
\ No newline at end of file |