All technological notes.
JavaScript BigInt variables are used to store big integer values that are too big to be represented by a normal JavaScript Number.
BigInt Decimals
BigInt can not have decimals.var x = 5n;
// var y = x / 2; // Error: Cannot mix BigInt and other types, use explicit conversion.
var y = Number(x) / 2;
console.log(y); //2.5
var x = 9999999999999999n;
var y = BigInt(1234567890123456789012345);
console.log(typeof x); //bigint
console.log(typeof y); //bigint