Skip to content

Instantly share code, notes, and snippets.

@dd701116
Last active March 28, 2021 23:04
Show Gist options
  • Save dd701116/e46d1757e624667d1f1771bf0d22ee13 to your computer and use it in GitHub Desktop.
Save dd701116/e46d1757e624667d1f1771bf0d22ee13 to your computer and use it in GitHub Desktop.
// Execute the first method and THEN call the resolve method or CATCH the rejection
thePromiseGiver().then(yes).catch(no);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment