Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 336 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 336 Bytes

is-odd

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!