Passing Parameters to Iterables
using yield* expression to delegate to another iterable object
The next
method of iterators can be used to pass a value that becomes the value of the previous yield statement.
Get hands-on with 1400+ tech skills courses.