JavaScript Promises bring many benefits to the Web development community. The Promise object has been designed to make programmer’s life easier by simplifying implementation of callback functions.

Now that JavaScript Promises are part of the JavaScript core system, everyone should understand what Promises are and how to incorporate them in their code.

Even if you don’t see yourself writing a Promise object in the near future, the fact is that Promise objects are being used by libraries and modules, without you even noticing.

Understanding Promises, helps us realize the reasons why modern modules do certain things in specific ways, which is far better than just memorizing implementations without even realizing that a Promise object is being used.

If you have been avoiding writing Promises or you have never heard of them, this book of exercises will help you get started, and it will guide you toward further study of Promises on your own.

The introduction of Promise objects in the JavaScript core has opened new ways of writing applications.

This book will give you the foundation needed to understand other (more difficult) implementations of the Promise object.

In order to test your exercises you will need to have Node.js installed in your system, be able to work on the command line to do simple commands, and use a text editor such as Notepad to write your code.

What does a Promise look like?

Just look at the illustration shown below to see an abstraction of a Promise object in JavaScript.

JavaScript Promises Diagram

  • This diagram will be explained in detail the book.

JavaScript Promises are a modern approach to callback functions. They simplify the implementation of callbacks and add some new features to make your life a lot easier.

How do I start with JavaScript Promises?

Start by downloading the eBook from Amazon. This should be no more than a weekend reading if you put in the time.

Here is a code sample from the book (pretty easy stuff once explained):

multiplyMe(2, 4)
    .then((myResolve) => console.log(myResolve))
    .catch((myReject) => console.log(myReject));


Link to Amazon
Node.js Easy Exercises JavaScript Promises A Hands-no Introduction

If you always wanted to learn more about JavaScript Promises but kept putting off, this is the right time and theĀ  right introductory eBook has just arrived. Go ahead and click on the eBook image to visit Amazon and download your copy of the book.


Leave a Reply

Your email address will not be published. Required fields are marked *