Greasy Fork

RandInt-Getter

get a stochastic integer in range

目前为 2021-08-07 提交的版本。查看 最新版本

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.icu/scripts/430439/957975/RandInt-Getter.js

作者
CosilC
版本
0.1
创建于
2021-08-07
更新于
2021-08-07
大小
1.4 KB
许可证
GPL

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