Created
July 16, 2019 15:39
-
-
Save vishalm30/2ade28376ad823f5acdf06c1fc84a64f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function iseven(x){ | |
| if (x % 2 === 0){ | |
| console.log(x+'is even!'); | |
| } else console.log(x + 'not even'); | |
| } | |
| function main(){ | |
| var x = iseven(4); | |
| } | |
| main(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment