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 is enum in javascript?
Explain unescape() and escape() in javascript?
Define unescape() and escape() functions?
Which built-in method returns the character at the specified index?
What kind of conditional statements does JavaScript support?
How are tag positions used in javascript?
Explain hoisting in javascript?
What are the two basic groups of dataypes in javascript?
How do you sort in javascript?
What is client side programming?
How do you assign object properties?
Is there any class in javascript?