Skip to content

Instantly share code, notes, and snippets.

@tiga-tiga
Created September 4, 2018 07:21
Show Gist options
  • Save tiga-tiga/add22170799649ee5510247c902ce514 to your computer and use it in GitHub Desktop.
Save tiga-tiga/add22170799649ee5510247c902ce514 to your computer and use it in GitHub Desktop.
typescript
function hello(name : string){
console.log("Hello " + name);
}
var firstName = "bob";
hello(firstName);
hello(firstName + " marley");
function concat(a : string , b : string ) {
return a + b;
}
var 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