Answer Posted / hr@tgksolutions.com
A Promise represents a value that may be available now, later, or never.
States of a Promise:
1. Pending: Initial state, not fulfilled or rejected.
2. Fulfilled: Operation completed successfully.
3. Rejected: Operation failed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is javascript and how it works?
What are the types of data types?
what is a difference of subclass and main class
What is use of flutter?
How about 3+5+"8"?
Why is javascript so important?
What is difference between java and javascript?
What is client side in javascript?
Why javascript is not secure?
How to port a GUI application onto Web
What is the syntax of ‘self invoking function’? Give an example?
What is output of undefined * 2 in javascript?
What is argument objects in javascript?
How to redirect a page to another page in javascript?
Why does the browser display the slow script warning?