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 |
Is javascript frontend or backend?
How to trigger a postback on an updatepanel from javascript?
How to get the contents of an input box using javascript?
Can we learn javascript without knowing java?
What are events in javascript?
What is the difference between null & undefined?
How to get an element by class in javascript ?
Is there any class in javascript?
What is the output of 10+20+”30″ in JavaScript?
Why are callbacks used?
What are the main features of javascript?
Hi all, I got a job in Bangalore even though it's recession time. They have said my project will involve Java, Ruby on Rails, Ajax and they also said Web Services (which i have always wanted to try) and some stuff I have not much exposure like REST, mashups and Struts. Can anyone tell me if there are some good training or conferences to get to speed with these technologies. I need to do really good in my job. Thanks, Vaibhavi