Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/FormidableLabs/nuka-carousel
/ arraySum
Function
arraySum
packages/nuka/src/utils/array.ts:16–19 ·
view source on GitHub ↗
(values: number[])
Source
from the content-addressed store, hash-verified
14
* @returns An array of numbers
15
*/
16
export
function
arraySum(values: number[]): number[] {
17
let
sum = 0;
18
return
values.map((value) => (sum += value));
19
}
Callers
2
useMeasurement
Function · 0.90
array.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected