Last active
September 4, 2019 16:54
-
-
Save rintoandrews90/bed14f203270e395decf9e3003f8ab68 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
/***** | |
* Functions statments | |
* **/ | |
function calcAge(birthyear) { | |
return 2018-birthyear; | |
} | |
var age = calcAge(1989); | |
console.log(age); | |
var watdo = function(job , name) { | |
return job+name; | |
} | |
var wat = watdo('tech','rinto'); | |
console.log(wat); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment