random(low, high) returns a randomly generated number between two bounds. This function is not cryptographically secure.
random(low, high)
random() requires two parameters:
random()
low: The lower bound.
low
high: The upper bound.
high
log random(1, 10) // 4
Last updated 20 days ago