Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript
setTimeout
What does the setTimeout function do?
Answer options
- Creates a new thread with a delay
- Sets a time limit for a loop
- Pauses code execution for a specified time
- Schedules a function to execute after a specified time
You can check the correct answer by solving this task in the CodeWorlds game.