Program 1 - Check if a number is odd or even in JavaScript.

Please open console to see the output and visit script.js file to understand whats going on.