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 class example?
What is DOM? What is the use of document object?
Explain with an example the use of event handlers in javascript.
Explain arrow functions?
Explain how to write class methods vs. Instance methods.
What is the difference between local storage & session storage?
What are limitations in javascript?
How to call a function inside a function in javascript?
What is difference == and === in javascript?
You have an asp. Net web application running on a web-farm that does not use sticky sessions - so the requests for a session are not guaranteed to be served the same machine. Occasionally, the users get error message validation of view state mac failed. What could be one reason that is causing this error?
Is javascript free to use?
What are the different types of errors supported by javascript?
What creates scope in javascript?
How you will add function as a property in a javascript object? Give an example.
Can array in javascript be extended?