Created
September 4, 2018 07:21
-
-
Save tiga-tiga/add22170799649ee5510247c902ce514 to your computer and use it in GitHub Desktop.
typescript
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
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