We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Find the sum of numbers (Σ).
Similar: sum, product.
function sum(...xs) // xs: a list of numbers
const xmath = require('extra-math'); xmath.sum(1, 2); // → 3 xmath.sum(1, 2, 3); // → 6 xmath.sum(1, 2, 3, 4); // → 10
There was an error while loading. Please reload this page.