the fill method is defined here,
// src/server/rng.ts
export interface Random {
// ...
/**
* Like `crypto.getRandomValues()`. Fills a `TypedArray` with random integers
* in a uniform distribution, mutating and returning it.
*/
fill<T extends IntArray>(array: T): T;
// ...
}
but at runtime, we see Uncaught TypeError: ctx.random.fill is not a function
the
fillmethod is defined here,but at runtime, we see
Uncaught TypeError: ctx.random.fill is not a function