aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/builtin/asyncIterator.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/builtin/asyncIterator.js')
-rw-r--r--node_modules/@babel/runtime/helpers/builtin/asyncIterator.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/node_modules/@babel/runtime/helpers/builtin/asyncIterator.js b/node_modules/@babel/runtime/helpers/builtin/asyncIterator.js
deleted file mode 100644
index c1a1b313..00000000
--- a/node_modules/@babel/runtime/helpers/builtin/asyncIterator.js
+++ /dev/null
@@ -1,19 +0,0 @@
-function _asyncIterator(iterable) {
- var method;
-
- if (typeof Symbol === "function") {
- if (Symbol.asyncIterator) {
- method = iterable[Symbol.asyncIterator];
- if (method != null) return method.call(iterable);
- }
-
- if (Symbol.iterator) {
- method = iterable[Symbol.iterator];
- if (method != null) return method.call(iterable);
- }
- }
-
- throw new TypeError("Object is not async iterable");
-}
-
-module.exports = _asyncIterator; \ No newline at end of file