daily pastebin goal
90%
SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 53 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. var firstName : string = "bob ";
  6.  
  7. hello(firstName);
  8. hello(firstName + " marley");
  9.  
  10. function concat(a : string, b : string) {
  11.     number {return a + b;};
  12. }
  13.  
  14. var wcs = 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