Set timeout
The Set timeout function allows you to create a time interval before the functions within your callback are executed, that is, to delay the functions in time.

Delay (seconds): A numerical value must be entered which will indicate the amount of time that our function will be executed in seconds.
Step by Step :

Last updated
Was this helpful?