We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe provide "safe" constructor which checks if input is valid first, or something other then returning invalid values like this:
> var BN = require('bn.js'); > (new BN("10", 10)).toString(10) '10' > (new BN("asdads", 10)).toString(10) '1294158' > (new BN("-----bla", 10)).toString(10) '--3331680' > (new BN("!@#!@#@!#!@-----bla", 10)).toString(10) '-135390-533285undefined-2452320' > (new BN("-135390-533285undefined-2452320", 10)).toString(10) '-135389753328824457045272452320'
The text was updated successfully, but these errors were encountered:
@indutny @dcousens This issue has been resolved for a while, could you please create a new release that includes the fix?
Sorry, something went wrong.
No branches or pull requests
Maybe provide "safe" constructor which checks if input is valid first, or something other then returning invalid values like this:
The text was updated successfully, but these errors were encountered: