randf
Returns random float between a range. If no range is specified, 0 (inclusive) to 1 (exclusive) is used. You can also pass a single number to specify a range between 0 and N.
var random = console // => 0 ... 1console // => 0 ... 25console // => -1 ... 1
Usage
random([min, max])
Returns a new random number within the given range.
License
MIT, see LICENSE.md for details.