// Declare the BigInt
const bigIntNumber: bigint = BigInt("12345678901234567890123456789012345");
// Perform modulo operation with another BigInt
const lastDigit: bigint = bigIntNumber % BigInt(10);
console.log(bigIntNumber);
console.log(lastDigit);
/*
run:
12345678901234567890123456789012345n
5n
*/