When I put together Kal (a compile to JavaScript language, now defunct), I was particular about this and used the sleep syntax:
pause for 3 seconds
With some other options for units. https://github.com/rzimmerman/kal#asynchronous-pause