Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update files/en-us/web/api/window/settimeout/index.md
  • Loading branch information
hamishwillee authored Nov 24, 2025
commit e861855661888488cc61e11bd790b924ca176f4c
4 changes: 2 additions & 2 deletions files/en-us/web/api/window/settimeout/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ If you wish to call a function repeatedly (e.g., every _N_ milliseconds), you ca

### Working with asynchronous functions

`setTimeout()` is an asynchronous function, meaning that the timer function will not pause execution of other functions in the function's stack.
In other words, you cannot use `setTimeout()` to create a "pause" before the next function in the stack fires.
`setTimeout()` is an asynchronous function, meaning that it completes immediately, and does not block the execution of the following code.
In other words, you cannot use `setTimeout()` to create a "pause" before the next line is executed.

See the following example:

Expand Down
Loading