Pseudorandom Number Generation
Computers generate pseudorandom numbers using deterministic algorithms (appear random but reproducible from seed). JavaScript Math.random() uses implementation-dependent PRNG (Pseudo-Random Number Generator), typically xorshift128+ or similar. Properties: uniform distribution (equal probability for all values in range), sufficient period (long sequence before repetition), and unpredictability (next value hard to predict).