Writing Javascript Promises

To read my previous article explaining promises, go here: https://tuts.alexmercedcoder.com/promises/

Building a Promise

So if you read my previous article we learned what promises are and how to work with them when functions like fetch and Axios return them to us. In this article, I’ll show you how to write your own promise.

Why Write Promises

Basically, if all the following questions get a yes response, you should write a promise.

  • I have something that…