Preparing search index...
The search index is not available
js-xxx - v2.2.29
js-xxx
getRandNum
Function getRandNum
get
Rand
Num
(
min
?
,
max
?
)
:
number
获取随机数字
Parameters
min
:
number
= 0
最小值
max
:
number
= 10
最大值
Returns
number
Example
getRandNum
(
1
,
10
);
/// 1~10 之间的随机数,闭区间。
Copy
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
js-xxx - v2.2.29
Loading...
获取随机数字