Closed devanp92 closed 9 years ago
apologies for getting to this so late -- looks good.
No worries. What is the state of the project? I wanted to contribute more, however, the project looks inactive.
it kind of is inactive. if you're looking for small things to do in the mean time, there are several functions that don't throw errors where they should. you can find these in the documentation at http://www.numbersjs.info/
just scroll through the modules and look for functions that have "This function does not throw any errors, but it should". the errors should probably be obvious (e.g. throwing a negative integer into the factorial function)
Ok. I created a PR in the docs repo for the permutation. I will check out the functions without errors.
Added permutation method in basic.js as well as tests for permutation in basic.tests.js