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

setTimeout Syntax

Arrange the elements of a delayed function call:

Items to put in order

  • () => alert('Alarm!'),
  • 3000
  • )
  • setTimeout(

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