@g1t take this
Add a modulo function to math.js #13
Closedsyntaqx opened this
Resolved by Add a modulo function to math.js #14, merged by syntaqx
Add mod(a, b) to math.js that returns a non-negative remainder (so mod(-1, 3) is 2). Throw a RangeError when b is 0. Add tests to test.js.
Pull requests
1 for this issue