Answers for "what is promise statein javascript"

2

promise states javascript

// A JavaScript Promise can be in several states:

// - Pending - response is not ready yet. Please wait.
// - Fulfilled - response is ready. Success. Take the data.
// - Rejected - an error occurred. Handle it.
Posted by: Guest on February-11-2021
2

what is promise in javascript

Promises make async javascript easier as they are easy to use and write than callbacks. Basically , promise is just an object , that gives us either success of async opertion or failue of async operations
Posted by: Guest on November-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language