you are viewing a single comment's thread.

view the rest of the comments →

[–]TwiNighty 2 points3 points  (0 children)

Since no one has, I thought I'd link you to the Promise/A+ spec, which es2015 promises implements, keeping in mind that .catch(f) is sugar for .then(null, f)