Skip to content

Instantly share code, notes, and snippets.

@Lexhoo
Last active May 27, 2020 12:27
Show Gist options
  • Save Lexhoo/909887631b8f606763d152f8ba448054 to your computer and use it in GitHub Desktop.
Save Lexhoo/909887631b8f606763d152f8ba448054 to your computer and use it in GitHub Desktop.
function hello(name: string) {
console.log("Hello " + name);
}
const firstName: string = "bob";
hello(firstName);
hello(firstName + " marley");
function concat(a: string, b: string) {
return a + b;
}
const 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