cf.completefrontend

Predict the outputHard

What happens past Number.MAX_SAFE_INTEGER, and when you mix BigInts with numbers?

What does this log?
console.log(Number.MAX_SAFE_INTEGER + 2);
console.log(2 ** 53 === 2 ** 53 + 1);
console.log(9007199254740993n + 1n);
console.log(7n / 2n);
console.log(1n == 1, 1n === 1);
console.log(1n + 1);
console.log("done");

The answer

Work out every line it logs, in order. Then check.

Checking your sign-in…