source: node_modules/@babel/runtime/helpers/esm/toArray.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 379 bytes
Line 
1import arrayWithHoles from "./arrayWithHoles.js";
2import iterableToArray from "./iterableToArray.js";
3import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
4import nonIterableRest from "./nonIterableRest.js";
5export default function _toArray(arr) {
6 return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
7}
Note: See TracBrowser for help on using the repository browser.