Question 1: What does a generator function return in JavaScript?
Question 2: Which keyword is used to define a generator function?
Question 3: What does the yield keyword do in a generator?
Question 4: How can you continue execution in a paused generator?
Question 5: What does the next() method return?
Question 6: Which symbol indicates a generator function?
Question 7: What is an iterator in JavaScript?
Question 8: Which method must an iterator have?
Question 9: What does done true mean in the result of next()?
Question 10: Can you create an infinite generator?