v2.0.0-rc.3
Pre-release
Pre-release
This release sees a huge outstanding bug fixed, as well as a host of new math features. A shoutout to @mrfigg, who not only discovered the bugs, but authored the fixes.
Features
We now support several more math operations:
- Added exponent operator
- Added modulo
- Added factorial
- Added support for parentheses (they were ignored before)
Bug Fixes
In addition, now our math functions are correctly left to right associative. (They were not before.) This allows you to do things like: 2+8-2+8
. This will correctly return 16
, as opposed to the 0
all previous versions returned.
Additional Changes
- Added ESLint rules
- Added
lint-staged
prehook - Reformatted project code
- Updated code to current ECMA standards.