Module

x/lodash_es/src/sum.js>default

lodash for deno use
Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/sum.js";

Computes the sum of the values in array.

Examples

_.sum([4, 2, 8, 6]); // => 20

Parameters

array

The array to iterate over.