diff options
Diffstat (limited to 'includes/external/matrix/node_modules/@babel/runtime/helpers/arrayLikeToArray.js')
-rw-r--r-- | includes/external/matrix/node_modules/@babel/runtime/helpers/arrayLikeToArray.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/external/matrix/node_modules/@babel/runtime/helpers/arrayLikeToArray.js b/includes/external/matrix/node_modules/@babel/runtime/helpers/arrayLikeToArray.js new file mode 100644 index 0000000..3686540 --- /dev/null +++ b/includes/external/matrix/node_modules/@babel/runtime/helpers/arrayLikeToArray.js @@ -0,0 +1,6 @@ +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; +} +module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
\ No newline at end of file |