With native BigInt, BigInt('+10') parses correctly as 10. Unfortunately, using this library, bigInt('+abc', 16) does not correctly parse as 0xabc, even though bigInt('-abc', 16) parses correctly as -0xabc.
This leads to inconsistencies in parsing when the base is equal to 10 compared to other bases. Not sure if I'll have time to submit a PR, but will probably do so if no one gets to this in the next few days.
With native BigInt,
BigInt('+10')
parses correctly as 10. Unfortunately, using this library,bigInt('+abc', 16)
does not correctly parse as0xabc
, even thoughbigInt('-abc', 16)
parses correctly as-0xabc
.This leads to inconsistencies in parsing when the base is equal to 10 compared to other bases. Not sure if I'll have time to submit a PR, but will probably do so if no one gets to this in the next few days.