MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / getRandomValues

Function getRandomValues

app/services/tdc_vm_runner.cjs:330–335  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

328 },
329 crypto: {
330 getRandomValues(array) {
331 for (let i = 0; i < array.length; i += 1) {
332 array[i] = (i * 17 + 29) % 256;
333 }
334 return array;
335 },
336 },
337 XMLHttpRequest: XMLHttpRequestStub,
338 Image: function Image() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected