You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
379 B
7 lines
379 B
import arrayWithHoles from "./arrayWithHoles.js"; |
|
import iterableToArray from "./iterableToArray.js"; |
|
import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; |
|
import nonIterableRest from "./nonIterableRest.js"; |
|
export default function _toArray(arr) { |
|
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); |
|
} |