daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function hello(name : string) {
  2.     console.log("Hello " + name);
  3. }
  4. const firstName : string = "bob";
  5.  
  6. hello(firstName);
  7. hello(firstName + " marley");
  8.  
  9. function concat(a : string, b : string) {
  10.     return a + b;
  11. }
  12.  
  13. const wcs : string = concat("Wild", concat("Code", "School"));
  14. console.log(wcs);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top