aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/es6/toConsumableArray.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/es6/toConsumableArray.js')
-rw-r--r--node_modules/@babel/runtime/helpers/es6/toConsumableArray.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/es6/toConsumableArray.js b/node_modules/@babel/runtime/helpers/es6/toConsumableArray.js
new file mode 100644
index 00000000..7e480b9d
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/es6/toConsumableArray.js
@@ -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();
+} \ No newline at end of file