UNPKG
random-tse-js
Version:
latest (1.0.1)
1.0.1
1.0.0
获取随机数
random-tse-js
/
README.md
8 lines
(6 loc)
•
166 B
Markdown
View Raw
1
2
3
4
5
6
7
8
# 获取一个从min到max的随机数
```js
//用法
import getRandom
from
'random-js'
const
number = getRandom(
5
,
10
);
// 5-10的随机数
```