Get the entire internal state of a generator
Generate a single random number on the interval [0, 1], updating whatever internal state the generator uses.
Set the seed of the generator; most generators should support this but RngStateBuiltin does not, and a cryptographically secure generator also may not.
Replace the entire internal state of a generator
Generated using TypeDoc
Random number generator based on the
Math.random()
builtin, which does not give good quality random numbers, but at least is available everywhere. This generator cannot be seeded.