This commit is contained in:
tiennm99 committed 2020-03-02 14:53:23 +07:00
1 parent d10a3b793b
commit e81094b0d2
4280 files changed
+484929

No files matched your search

+6
View File
@@ -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();
}