Skip to content

Instantly share code, notes, and snippets.

@teasmade
Created September 12, 2024 09:31
Show Gist options
  • Save teasmade/973c84be3ecc616a696f718482de2cd3 to your computer and use it in GitHub Desktop.
Save teasmade/973c84be3ecc616a696f718482de2cd3 to your computer and use it in GitHub Desktop.
WCS TS Q1
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