toStringbeginner42n.toString() // β '42'
42n.toString(2) // β '101010' (binary)toString() converts a BigInt to a string, optionally in a given base (radix).
(10n).toString() converts the BigInt to a decimal string '10'.
Challenge: Verify the string conversion.