Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vercel/next.js
/ reduce
Function
reduce
packages/next/src/compiled/@vercel/og/index.edge.js:967–975 ·
view source on GitHub ↗
(xs, f, acc)
Source
from the content-addressed store, hash-verified
965
return
res;
966
}
967
function
reduce(xs, f, acc) {
968
if
(xs.reduce) {
969
return
xs.reduce(f, acc);
970
}
971
for
(
var
i = 0; i < xs.length; i++) {
972
acc = f(acc, xs[i], i);
973
}
974
return
acc;
975
}
976
}
977
});
978
Callers
1
walk
Function · 0.70
Calls
2
reduce
Method · 0.80
f
Function · 0.70
Tested by
no test coverage detected