Stumbled upon the promise spec and realized it would be a good exercise. It was pretty tricky.. I had to create an event handler in order to manage the process of chaining onFulfilled callbacks.
julianlconnor / promise Goto Github PK
View Code? Open in Web Editor NEWA small promise implementation for fun.