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
It would be much more friendly if the library was just a pack of functions, just like lodash or many others.
Why do we need to instantiate an empty object so we use the functions?
That also blocks us to rename functions when importing (i.e. futureValue makes more sense than a FV acronym, for laymen looking at the code).
The text was updated successfully, but these errors were encountered:
I just posted this in another issue, but for anyone running into this:
I just recreated this package by refactoring it into simple javascript functions, modularizing it, and splitting out the tests. I used the exact same test cases as in this package to verify the functions, but I switched from mocha to jest.
It would be much more friendly if the library was just a pack of functions, just like lodash or many others.
Why do we need to instantiate an empty object so we use the functions?
That also blocks us to rename functions when importing (i.e.
futureValue
makes more sense than a FV acronym, for laymen looking at the code).The text was updated successfully, but these errors were encountered: