daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const get3sync = () => 3;
  2. const get3async = async () => 3;
  3. const get3FromPromiseAsync = async () => Promise.resolve(3);
  4. console.log(get3sync());
  5. console.log(get3async());
  6. console.log(get3FromPromiseAsync());
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