diff options
Diffstat (limited to 'node_modules/@babel/runtime/helpers/es6/toArray.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/es6/toArray.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/es6/toArray.js b/node_modules/@babel/runtime/helpers/es6/toArray.js new file mode 100644 index 00000000..5acb22b3 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/es6/toArray.js @@ -0,0 +1,6 @@ +import arrayWithHoles from "./arrayWithHoles"; +import iterableToArray from "./iterableToArray"; +import nonIterableRest from "./nonIterableRest"; +export default function _toArray(arr) { + return arrayWithHoles(arr) || iterableToArray(arr) || nonIterableRest(); +}
\ No newline at end of file |
