random
random()
random(max)
random(min, max)
random(size)
random(size, max)
random(size, min, max)
Return a random number.
Try it yourself:
$1 | random()
| |
$2 | random(10, 20)
| |
$3 | random([2, 3])
|
Return a random number.
Try it yourself:
$1 | random()
| |
$2 | random(10, 20)
| |
$3 | random([2, 3])
|