include is-odd.js
in your website:
<script src="is-odd.js" defer>
...then simply call the "isOdd()" function!
console.log(isOdd(2)); // returns false
it's that simple! (¬‿¬)
Note
you might be interested in the new, JIT compiled version, is-odd-jit!