Skip to content

Commit

Permalink
Fix return value from iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Aug 18, 2024
1 parent 89032ed commit cab47a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/RangeIterable.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class RangeIterable {
throw error;
}
},
return() {
return(value) {
if (!this.done) {
RETURN_DONE.value = value;
this.done = true;
Expand Down

0 comments on commit cab47a5

Please sign in to comment.