SHARE
TWEET

Untitled

a guest Jun 16th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. p => ({ foo: 'bar' });
  2.      
  3. p => 10;
  4. p => 'foo';
  5. p => true;
  6. p => [1,2,3];
  7. p => null;
  8. p => /^foo$/;
  9.      
  10. var func = p => { foo: "bar" }
  11.      
  12. var func = function (p) {
  13.   foo:
  14.   "bar"; //obviously no return here!
  15. }
  16.      
  17. p => ({ foo: 'bar' })
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