Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
How is an infinite generator written and how is it safely used?
Auto Skip
Report Issue
A.
Infinite generator can be safely consumed with spread; JavaScript automatically terminates
B.
Created with while(true) and yield; limited values obtained with for...of break or next(); spread causes infinite loop
C.
Infinite generator can only be used in async context; does not work in sync code
D.
Infinite generator not supported in JavaScript; generator must be finite
Previous
Next