Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const get3sync = () => 3;
- const get3async = async () => 3;
- const get3FromPromiseAsync = async () => Promise.resolve(3);
- console.log(get3sync());
- console.log(get3async());
- console.log(get3FromPromiseAsync());
Add Comment
Please, Sign In to add comment