2
User
Recs.
Recs.
3
Updates
Last
Updated
Updated
Activity
Promises are used as a proxy for a value that isn't known at the time it's created. While in callback functions your code executes in a nested callback, Promises provide an alternative approach that allows you to access asynchronous method return values with synchronous methods. A promise can either become rejected with a reason or fulfilled with a reason. The then function can be used to chain promises.
Specs
Specs are quantitative aspects of the option such as the price
Pros
Pro Chaining functions, flattens the code and greatly improves readability.
Know any positive aspects of this option?
Cons
Know any negative aspects of this option?