Fading Coder

One Final Commit for the Last Sprint

Implementing the Promises/A+ Specification from Scratch in JavaScript

A Promise implementation begins as a class. The constructor receives a callback, commonly referred to as the executor, which runs immediately with two functional parameters: resolve and reject. class MyPromise { constructor(executor) { const resolve = () => {}; const reject = () => {}; executo...