const a = 10n ** 3n;
const b = BigInt(Number.MAX_SAFE_INTEGER) + 1n;
const c = b - BigInt(Number.MAX_SAFE_INTEGER);
const results = {
power: a,
safe: c,
type: typeof a,
equal: 10n == 10,
strict: 10n === 10,
};
console.log(
results.power,
results.safe,
results.type,
results.equal,
results.strict
);
Post #3045
2.96K
CHALLENGE
- ❤ 3
- 👍 3
- 🔥 2