I think that this code works but in the challenge they asking me to return "15511210043330985984000000" instead of "1.5511210043330984e+25" I don't understand what could be the problem. I've tried putting "BigInt" before my result but that gives me something like "15511210043330985984000000n" this "n" at the end of every number.
function extraLongFactorials(n) {
let result = 1;
for(let i = n; i >= 1; i--) {
result *= i;
}
return result;
}
console.log(extraLongFactorials(25));
// should be 15511210043330985984000000