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

This commit is contained in:
flywind
2021-02-22 04:09:25 -06:00
committed by GitHub
parent 55a33e1664
commit f07a072691
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()