diff options
Diffstat (limited to 'node_modules/@babel/runtime/helpers/builtin/es6/asyncIterator.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/builtin/es6/asyncIterator.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/node_modules/@babel/runtime/helpers/builtin/es6/asyncIterator.js b/node_modules/@babel/runtime/helpers/builtin/es6/asyncIterator.js deleted file mode 100644 index c43366eb..00000000 --- a/node_modules/@babel/runtime/helpers/builtin/es6/asyncIterator.js +++ /dev/null @@ -1,17 +0,0 @@ -export default 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"); -}
\ No newline at end of file |
