loading...
Cover image for JavaScript Promises Explained

JavaScript Promises Explained

mukherjee96 profile image Aritra Mukherjee Originally published at geekyminds.co.in on ・1 min read

Hey geeks!

In this article, we are looking into Promises in JavaScript! As usual, I'm going to explain some foundation building concepts and then dive straight into the syntax.

Here's what we will go through:

  • Foundation concepts
    • Asynchronous Code
    • Blocking code
    • Concept of threads
  • Creating Promises
    • Syntax
    • Resolve, Reject
    • Then, Catch, Finally
  • Live examples
    • Resolving a promise
    • Rejecting a promise
    • Using finally() on a promise

Continue reading "JavaScript Promises Explained | JavaScript Basics"

The post JavaScript Promises Explained | JavaScript Basics appeared first on GeekyMinds.

Posted on Oct 23 '19 by:

mukherjee96 profile

Aritra Mukherjee

@mukherjee96

Co-founder of GeekyMinds. Passionate about cross-platform app development using web technologies! 🌐

Discussion

markdown guide