Returns a string representation of the BigInt.
toString(radix?)
A string representing the value.
radix optional
A radix for converting numeric values to strings between 2 and 36.
123456789123456789n.toString()
123456789123456789
123456789123456789n.toString(2)
110110110100110110100101110101100110100000101111100010101
123456789123456789n.toString(16)
1b69b4bacd05f15
123456789123456789n.toString(36)
xrls1yk9rf9