asUintN
BigInt.asUintN(32, 2n ** 32n) // β 0n
Use asUintN(32, ...) to simulate unsigned 32-bit integer wrap-around.
typeof BigInt.asUintN(8, 1n) is 'bigint'.
typeof BigInt.asUintN(8, 1n)
'bigint'
Challenge: Verify the return type.