JSFiddle - React, Tailwind, and code Playground
by JBDouble05
JavaScript
function extraLongFactorials(n) {
const rs = BigInt([...Array(n)].reduce((a, b, i) => a * (i + 1), 1));
console.log(rs)
}
extraLongFactorials(25)
by JBDouble05
function extraLongFactorials(n) {
const rs = BigInt([...Array(n)].reduce((a, b, i) => a * (i + 1), 1));
console.log(rs)
}
extraLongFactorials(25)