Question Bank

Generators and Iterators Quiz

Difficulty: Hard

Practice the iterator protocol from both sides: write an infinite Fibonacci generator, an async iterable, a `[Symbol.iterator]` implementation, and a `for...of` consumer.

Question Bank
/

Generators and Iterators Quiz

Generators and Iterators Quiz

Practice the iterator protocol from both sides: write an infinite Fibonacci generator, an async iterable, a `[Symbol.iterator]` implementation, and a `for...of` consumer.

Question Bank
Hard
JavaScript
quiz
generators
iterators
js-language

244 views

3

This question bank is available for premium members only.

Upgrade to Premium