[JS + docs] improve std/monotimes module (#17103)
This commit is contained in:
parent
55a33e1664
commit
f07a072691
2 changed files with 49 additions and 43 deletions
|
|
@ -1,4 +1,8 @@
|
|||
import std/monotimes, times
|
||||
discard """
|
||||
targets: "c js"
|
||||
"""
|
||||
|
||||
import std/[monotimes, times]
|
||||
|
||||
let d = initDuration(nanoseconds = 10)
|
||||
let t1 = getMonoTime()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue