MCPcopy Create free account
hub / github.com/nodejs/node / random

Function random

deps/v8/tools/clusterfuzz/js_fuzzer/random.js:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21function random() {
22 return Math.random();
23}
24
25function uniform(min, max) {
26 return Math.random() * (max - min) + min;

Callers 4

twoBucketSampleFunction · 0.70
sequenceFunction · 0.50
getFormDataBoundaryMethod · 0.50
getFormDataBoundaryMethod · 0.50

Calls 1

randomMethod · 0.80

Tested by

no test coverage detected