MCPcopy Index your code
hub / github.com/nodejs/node / doWork

Function doWork

deps/v8/test/mjsunit/tools/processor.mjs:11–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10// log code start
11function doWork() {
12 let array = [];
13 for (let i = 0; i < 500; i++) {
14 doWorkStep(i, array);
15 }
16 let sum = 0;
17 for (let i = 0; i < 500; i++) {
18 sum += array[i]["property" + i];
19 }
20 return sum;
21}
22
23function doWorkStep(i, array) {
24 const obj = {

Callers 1

processor.mjsFile · 0.70

Calls 1

doWorkStepFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…