Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a Promise in JavaScript?

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


Please Help Members By Posting Answers For Below Questions

Where can I learn javascript?

918


How do you clear an array in javascript?

882


Can we create session in javascript?

864


How to open url in a new tab in javascript?

926


Explain how to detect the operating system on the client machine?

880


Program to return the address family of a socket

1279


Why is java better than javascript?

872


What is a function constructor?

856


What is the difference between null & undefined?

919


How do I turn on javascript?

827


What does the isNaN() function?

898


How to write hello world on the web page?

887


What are the different types of errors available in javascript?

941


How to create function in JavaScript?

1017


What is emotional closure?

850