Skip to content

Glossary: Coding Interviews in JavaScript

Seeded random numbers

Also written: seed, seeded random, makeRandom, seeded, seeded generator

A sequence of 'random' numbers that is the same on every run, so a failing randomized test can be repeated. Because `Math.random` can't be seeded, a small generator such as `makeRandom(1)` is used instead.

Where the book teaches it

Related terms

Brute-force checker