What is a Promise in JavaScript?
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 |
What are all the looping structures in javascript?
Can I learn javascript without knowing java?
What is a name function in javascript & how to define it?
What is difference between scripting and programming?
How do you declare javascript?
How is a relation not a function?
Have you used any browser for debugging? If yes, how is it done?
How to convert json object to string?
Whether JavaScript has concept level scope?
What are the types used in javascript?
How to accessing elements using javascript?
How do you implement Ajax using hide() function in JQuery?