sleep

The sleep method pauses the thread.

Syntax

sleep( milliseconds )

Arguments

Argument Description
milliseconds (number) The number of milliseconds for which to pause the current thread.

© 2014 Hewlett-Packard Development Company, L.P.