Skip to main content
Module

x/rambda/sum.js

Faster and smaller alternative to Ramda
Go to Latest
File
export function sum(list){ return list.reduce((prev, current) => prev + current, 0)}