BetterOtherMath
A simple JS library that has more Math operations.
Added Operations
$3
betterothermath.factorial(n);
$3
if (betterothermath.isEven(n)) {
your code here
}
$3
if (betterothermath.isOdd(n)) {
your code here
}
$3
betterothermath.mean(dataset);
$3
betterothermath.median(dataset);
$3
betterothermath.mode(dataset);
$3
betterothermath.range(dataset);
$3
betterothermath.iqrange(dataset);
Installation
Include the library in your HTML file:
```html