Random
Random namespace
| Type | TC39 | CoreJS | Babel | Civet | JS+ |
|---|---|---|---|---|---|
| Polyfill | ✅ Stage 1 View | ❌ | ❌ | ❌ | ✅ via Custom |
Random namespace
| Type | TC39 | CoreJS | Babel | Civet | JS+ |
|---|---|---|---|---|---|
| Polyfill | ✅ Stage 1 View | ❌ | ❌ | ❌ | ✅ via Custom |
RandomRandom.random(options?: RandomOptions): numberRandom.number(low: number, high: number, stepOrOptions?: number | RandomOptions): numberRandom.range(): voidRandom.int(low: number, high: number, stepOrOptions?: number | RandomOptions): numberRandom.bigint(low: bigint, high: bigint, stepOrOptions?: bigint | RandomOptions): bigintRandom.bytes(n: number): Uint8ArrayRandom.fillBytes(buffer: BufferType, start?: number, end?: number): BufferType