Skip to content

nativeMath

const nativeMath: NativeMathEngine

Defined in: src/engine/native.ts:58

Math.random, wrapped as an engine.

Not seedable and not reproducible: the host owns the state. This is what the global functions draw from until you call seed().

nativeMath.nextUint32(); // 2166136261
nativeMath.seedable; // false