You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been having a bug in my app for so long and I think I've just figured it out why it is happening.
.toString(radix, alphabet) works all right in my test cases with all radixes and different alphabets, yet it just doesn't when using 10 for radix and an alphabet.
bigInt(5).toString(10, 'ABCDEFGHIJKLMNOP') returns '5' which is not to be found in the alphabet requested.
The text was updated successfully, but these errors were encountered:
Hello,
I've been having a bug in my app for so long and I think I've just figured it out why it is happening.
.toString(radix, alphabet) works all right in my test cases with all radixes and different alphabets, yet it just doesn't when using 10 for radix and an alphabet.
bigInt(5).toString(10, 'ABCDEFGHIJKLMNOP')
returns '5' which is not to be found in the alphabet requested.The text was updated successfully, but these errors were encountered: