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
Where can I learn javascript?
How do you clear an array in javascript?
Can we create session in javascript?
How to open url in a new tab in javascript?
Explain how to detect the operating system on the client machine?
Program to return the address family of a socket
Why is java better than javascript?
What is a function constructor?
What is the difference between null & undefined?
How do I turn on javascript?
What does the isNaN() function?
How to write hello world on the web page?
What are the different types of errors available in javascript?
How to create function in JavaScript?
What is emotional closure?