Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Computes the sum of a sequence.
The sum of the values in the sequence.
var numbers = [ 43.68, 1.25, 583.7, 6.5 ]; var sum = from(numbers).sum(); console.log("The sum of the numbers is " + sum); /* This code produces the following output: The sum of the numbers is 635.13. */
Clone this wiki locally
Press h to open a hovercard with more details.