A bigint value is represented by adding an "n" at the end of the number. For example, it can be declared as follows:
let bigInt = 123456789012345678901234567890n;
The bigint type can be calculated in the same way as the number type, but a conversion is required for calculations involving the bigint and nunber types.
let x = 12n; // bigint let y = 15; // number console.log(x + BigInt(y));