Language types
BigInt language type
BigInt represents signed integers without Number’s fixed precision limit, subject to implementation resources. BigInt division truncates toward zero; numeric operations generally cannot mix Number and BigInt operands. It cannot represent fractions, NaN or Infinity.
Formal Syntax & Structure
javascript syntaxjavascript
const large = 9007199254740993n;Working Example
Example Snippetjavascript
console.log(String(11n / 3n));