Created
September 12, 2024 09:31
-
-
Save teasmade/973c84be3ecc616a696f718482de2cd3 to your computer and use it in GitHub Desktop.
WCS TS Q1
This file contains hidden or 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); | |
} | |
const firstName = "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