Skip to content

Function: random()

random(min, max): number

生成介于 min 与 max 之间的随机数

Parameters

min

number

max

number

Returns

number

Defined in

packages/valaxy/client/utils/helper.ts:4