Closed matthewleon closed 6 years ago
Hey, thanks, it looks great, you seem to have found your way around the project well. I just have two suggestions before I merge it in:
toArray
returning strings (it looks like it's copied from the toString
documentation)
Array.fill
breaks compatibility with legacy environments (and it requires changing to ChromeHeadless instead of PhantomJS, which seems to be breaking the Travis CI build for some reason). I'd prefer to keep compatibility here.Thanks!
Okay, I believe this to be ready for review again. Thanks for your comments.
I'll try to please coveralls.
Okay, we're good with coveralls :). Things should be truly reviewable now.
Looks good to me, thanks!
addresses https://github.com/peterolson/BigInteger.js/issues/123
This code uses
Array.fill
, which breaks compatibility with legacy browsers. If this is undesirable, I can modify the code to maintain compatibility, probably at the cost of some performance.