MCPcopy Index your code
hub / github.com/react/react / bootstrap

Function bootstrap

scripts/bench/benchmark.js:43–50  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

41}
42
43function bootstrap(data) {
44 const len = data.length;
45 const arr = Array(len);
46 for (let j = 0; j < len; j++) {
47 arr[j] = data[(Math.random() * len) | 0];
48 }
49 return arr;
50}
51
52function calculateStandardErrorOfMean(data) {
53 const means = [];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected