Skip to content

Instantly share code, notes, and snippets.

@MartinsAlexandre
Last active March 12, 2018 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinsAlexandre/ad96624f21fbe9934efe540722b6331a to your computer and use it in GitHub Desktop.
Save MartinsAlexandre/ad96624f21fbe9934efe540722b6331a to your computer and use it in GitHub Desktop.
challenge typeScript 1
function hello(name : string) {
console.log("Hello " + name);
}
let firstName = "bob";
hello(firstName);
hello(firstName + " marley");
function concat(a : string, b : string) {
return a + b;
}
let wcs = concat("Wild", concat("Code", "School"));
console.log(wcs);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment