You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)).
470
470
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.
0 commit comments