RandInt-Getter

get a stochastic integer in range

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/430439/1074311/RandInt-Getter.js

Author
CosilC
Version
0.1
Created
2021-08-07
Updated
2022-07-26
License
GPLv3

description

get a stochastic integer in range

usage

window.getRandInt(exp);

input a string exp like [|( -* \d+ , -* \d+ )|]

returns

a stochastic integer with type number in range