dd
This commit is contained in:
16
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
Normal file
16
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
|
||||
module.exports = _asyncIterator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
Reference in New Issue
Block a user