Last active
March 12, 2018 09:52
-
-
Save MartinsAlexandre/ad96624f21fbe9934efe540722b6331a to your computer and use it in GitHub Desktop.
challenge typeScript 1
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); | |
} | |
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