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 xnumber = require('extra-number'); xnumber.sum(1, 2); // → 3 xnumber.sum(1, 2, 3); // → 6 xnumber.sum(1, 2, 3, 4); // → 10