mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 06:20:38 +00:00
[JS + docs] improve std/monotimes module (#17103)
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import std/monotimes, times
|
||||
discard """
|
||||
targets: "c js"
|
||||
"""
|
||||
|
||||
import std/[monotimes, times]
|
||||
|
||||
let d = initDuration(nanoseconds = 10)
|
||||
let t1 = getMonoTime()
|
||||
|
||||
Reference in New Issue
Block a user