Add initRand() with seed based on time (#16953)

This commit is contained in:
hlaaftana 2021-02-08 08:15:51 +03:00 • committed by GitHub
commit 4fac8af0c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 10 deletions

View file

@ -124,6 +124,8 @@ with other backends. see #9125. Use `-d:nimLegacyJsRound` for previous behavior.
(instead of skipping them sometimes as it was before).
- Added optional `followSymlinks` argument to `setFilePermissions`.
- Added `random.initRand()` overload with no argument which uses the current time as a seed.
## Language changes
- `nimscript` now handles `except Exception as e`.