Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- doSomething()
- .then(doOtherThing)
- .then((result) => {
- console.log(result);
- })
- .catch((err) => {
- console.log(err);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement