pinkyPromise: JavaScript Promises in 45 Lines of Code
Disclaimer: these are not full-featured promises and don't follow any official promises spec. However, the concepts are the same, and it helps explain what is going on behind the scenes. This method is intended to be especially concise and relatively easy to understand (though still quite challenging).
What
Henley Edition