mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
@@ -608,7 +608,7 @@ when not defined(nimscript):
|
||||
## * `randomize proc<#randomize,int64>`_ that accepts a seed
|
||||
## * `initRand proc<#initRand,int64>`_
|
||||
when defined(JS):
|
||||
let time = int64(times.epochTime() * 100_000)
|
||||
let time = int64(times.epochTime() * 1000)
|
||||
randomize(time)
|
||||
else:
|
||||
let now = times.getTime()
|
||||
|
||||
Reference in New Issue
Block a user