Quiz

In this lesson, we will solve a quiz related to the concepts covered in the previous lesson.

1

What is the correct syntax of a generator function?

A)
generator function() {...}
B)
new generator(){...}
C)
function*(){...}
Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.