sleep

Causes the current thread to stop processing for a specified period of time.

sleep(duration) → returns void

Argument Reference for the sleep function

duration

Required: Yes
Time, in milliseconds, to stop processing the current thread


Fork me on GitHub