DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
JavaScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
JavaScript
What does a generator's .next() method return?
A
The next yielded value, directly
B
An object { value, done } — value is the yielded/returned value, done is a boolean
C
A new Promise
D
undefined, always
Check Answer