diff options
-rw-r--r-- | lib/pure/random.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/random.nim b/lib/pure/random.nim index c3ccd121b..b10bc43c8 100644 --- a/lib/pure/random.nim +++ b/lib/pure/random.nim @@ -642,7 +642,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() * 1000) + let time = int64(times.epochTime() * 1000) and 0x7fff_ffff randomize(time) else: let now = times.getTime() |