Last active
July 25, 2019 06:10
-
-
Save lelouchB/e7650e5e775387897ea7a848f72ea9d2 to your computer and use it in GitHub Desktop.
This file contains 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
let checkNumber = function check (num){ | |
return (num %2==0)?"even" : "odd" | |
} | |
console.log(checkNumber(50)) | |
// even |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment