From ff24f994716a09fdd6fac9d017c87cdd9a1ca7ba Mon Sep 17 00:00:00 2001 From: CodeGuage <99533223+codeguage-code@users.noreply.github.com> Date: Fri, 2 Sep 2022 00:31:28 +0500 Subject: [PATCH] Description of JavaScript Promises in JavaScript Roadmap (#1646) * Description of JavaScript Promises * Updated the markdown file to the desired format --- .../104-promises/readme.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/readme.md b/content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/readme.md index 0554eea0f..0a4501bf2 100644 --- a/content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/readme.md +++ b/content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/readme.md @@ -1 +1,9 @@ -# Promises \ No newline at end of file +# 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 set up, write code in a more or less synchronous style, and keep ourselves from running into the so-called callback hell. + +Free Content +A Detailed Introduction to Promises +JavaScript Promises - Basics +JavaScript Promises - Chaining +JavaScript Promises - Error Handling