Question 1 of 5
Which method supplies a value to the current paused yield expression?
send(value) resumes the generator and makes the paused yield expression produce value.
Review this lesson
Check your understanding of send(), throw(), close(), paused yields, exceptions, and generator cleanup.
Knowledge check
Check your understanding of send(), throw(), close(), paused yields, exceptions, and generator cleanup.
You can retake this quiz whenever you like.
Question 1 of 5
Question 2 of 5
Question 3 of 5
Question 4 of 5
Question 5 of 5