daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 48 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.  
  5. const firstName: string = "bob";
  6.  
  7. hello(firstName);
  8. hello(firstName + " marley");
  9.  
  10. function concat(a: string, b: string) {
  11.     return a + b;
  12. }
  13.  
  14. const wcs: string = concat("Wild", concat("Code", "School"));
  15. 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