asIntN
BigInt.asIntN(4, 7n) // β 7n
If the value fits in N bits, asIntN() returns it unchanged.
BigInt.asIntN(8, 127n) returns 127n because 127 fits in a signed 8-bit integer.
BigInt.asIntN(8, 127n)
127n
Challenge: Verify no overflow occurs.