Click in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript
yield Elements in a Generator
Arrange the elements of a generator with multiple yields:
Items to click
- yield 'T-Rex';
- return 'done'; }
- yield 'Raptor';
- function* dinos() {
You can check the correct answer by solving this task in the CodeWorlds game.