We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d91aa commit c4a150fCopy full SHA for c4a150f
index.js
@@ -14,7 +14,7 @@ MultipleErrors.prototype = Object.create(Error.prototype);
14
MultipleErrors.prototype.constructor = MultipleErrors;
15
16
function isGeneratorProto(v) {
17
- return v && v.constructor && v.constructor.name == 'GeneratorFunctionPrototype';
+ return v+'' == '[object Generator]';
18
}
19
20
function parallel(object, loop, callback) {
0 commit comments