Created
July 24, 2019 07:35
-
-
Save Cynnah/73ee4a5ca480837c021c8c014ccebe51 to your computer and use it in GitHub Desktop.
First quest 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