We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Find the product of bigints (∏).
Similar: sum, product.
function product(...xs) // xs: bigints
const xbigint = require('extra-bigint'); xbigint.product(1n, 2n); // → 2n xbigint.product(1n, 2n, 3n); // → 6n xbigint.product(1n, 2n, 3n, 4n); // → 24n