Skip to content

Instantly share code, notes, and snippets.

@rintoandrews90
Last active September 4, 2019 16:54
Show Gist options
  • Save rintoandrews90/bed14f203270e395decf9e3003f8ab68 to your computer and use it in GitHub Desktop.
Save rintoandrews90/bed14f203270e395decf9e3003f8ab68 to your computer and use it in GitHub Desktop.
/*****
* 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