You are viewing a single comment's thread. Return to all comments →
My Typescript solution:
function extraLongFactorials(n: number): void { let answer: bigint = BigInt(1); while (n > 0) { answer *= BigInt(n); n--; } console.log(answer.toString()); }
Extra Long Factorials
You are viewing a single comment's thread. Return to all comments →
My Typescript solution: