diff options
Diffstat (limited to 'doc/quickjs.texi')
-rw-r--r-- | doc/quickjs.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/quickjs.texi b/doc/quickjs.texi index 9eb6354..5731f04 100644 --- a/doc/quickjs.texi +++ b/doc/quickjs.texi @@ -769,6 +769,11 @@ write_fd]} or null in case of error. @item sleep(delay_ms) Sleep during @code{delay_ms} milliseconds. +@item now() +Return a timestamp in milliseconds with more precision than +@code{Date.now()}. The time origin is unspecified and is normally not +impacted by system clock adjustments. + @item setTimeout(func, delay) Call the function @code{func} after @code{delay} ms. Return a handle to the timer. |