Use BigInt.
BigInt
JavaScript converts integers with more than 21 digits to scientific notation.
Number(1000000000000000000000)// -> 1e+21