Click in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

Async Generator Syntax

Arrange the elements to create an async generator:

Items to click

  • async function*
  • {
  • }
  • fetchPages()
  • yield await fetch(url)

You can check the correct answer by solving this task in the CodeWorlds game.