Back to Developer Roadmap

Promises

src/data/roadmaps/javascript/content/promises@yXSF5gGST7l2X-4z1g0d_.md

4.0981 B
Original Source

Promises

Promises are a much better way to work with asynchronous code in JavaScript than the old and error-prone callback approach. They were introduced into JavaScript with ECMAScript 6. Using promises, we can manage extremely complex asynchronous code with rigorous error-handling setup, write code in a more or less synchronous style, and keep ourselves from running into the so-called callback hell.

Visit the following resources to learn more: