First release
This commit is contained in:
commit
fa6c85266e
2339 changed files with 761050 additions and 0 deletions
13
node_modules/@babel/runtime/helpers/esm/asyncIterator.js
generated
vendored
Normal file
13
node_modules/@babel/runtime/helpers/esm/asyncIterator.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
export default function _asyncIterator(iterable) {
|
||||
var method;
|
||||
|
||||
if (typeof Symbol !== "undefined") {
|
||||
if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator];
|
||||
if (method == null && Symbol.iterator) method = iterable[Symbol.iterator];
|
||||
}
|
||||
|
||||
if (method == null) method = iterable["@@asyncIterator"];
|
||||
if (method == null) method = iterable["@@iterator"];
|
||||
if (method == null) throw new TypeError("Object is not async iterable");
|
||||
return method.call(iterable);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue