Slide 13
Slide 13 text
Things to remember
next() actually returns an object, with keys
value and done
Calling next() with a parameter sends that
value in as the result of the generator’s last
yield
Calling next() always returns whatever is after
the next yield statement in the generator,
even if you are also sending in a value