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 arrayWithoutHoles from "./arrayWithoutHoles";
import iterableToArray from "./iterableToArray";
import nonIterableSpread from "./nonIterableSpread";
export default function _toConsumableArray(arr) {
return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();
}