Skip to content

Commit 624b48b

Browse files
authored
Update article.md
1 parent bed62e1 commit 624b48b

File tree

1 file changed

+1
-1
lines changed
  • 1-js/12-generators-iterators/1-generators

1 file changed

+1
-1
lines changed

1-js/12-generators-iterators/1-generators/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ g.next(); // { value: undefined, done: true }
468468

469469
If we again use `generator.return()` in a completed generator, it will return that value again ([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator/return)).
470470

471-
Often we don't use it, as most of time we want to get all returning values, but it can be useful when we want to stop generator in a condition.
471+
Often we don't use it, as most of time we want to get all returning values, but it can be useful when we want to stop generator in a specific condition.
472472

473473
## Summary
474474

0 commit comments

Comments
 (0)