[JS + docs] improve std/monotimes module (#17103)

This commit is contained in:
flywind 2021-02-22 04:09:25 -06:00 • committed by GitHub
commit f07a072691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 43 deletions

View file

@ -1,4 +1,8 @@
import std/monotimes, times
discard """
targets: "c js"
"""
import std/[monotimes, times]
let d = initDuration(nanoseconds = 10)
let t1 = getMonoTime()