sum
Script
v2
Fork
1
export
let
sum
=
a
=>
a
.
reduce
(
(
a
,
b
)
=>
a
+
b
,
0
)