aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/builtin/toConsumableArray.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/builtin/toConsumableArray.js')
-rw-r--r--node_modules/@babel/runtime/helpers/builtin/toConsumableArray.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/builtin/toConsumableArray.js b/node_modules/@babel/runtime/helpers/builtin/toConsumableArray.js
new file mode 100644
index 00000000..4cd54a33
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/builtin/toConsumableArray.js
@@ -0,0 +1,11 @@
+var arrayWithoutHoles = require("./arrayWithoutHoles");
+
+var iterableToArray = require("./iterableToArray");
+
+var nonIterableSpread = require("./nonIterableSpread");
+
+function _toConsumableArray(arr) {
+ return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();
+}
+
+module.exports = _toConsumableArray; \ No newline at end of file