promises can now be returned from within a then(). exception handling has been fleshed out a bit further.both the successCB and failureCB are now optional in a then(). TODO: handle exceptions thrown by a promise being resolved within a then().
promises can now be returned from within a then(). exception handling has been fleshed out a bit further.both the successCB and failureCB are now optional in a then(). TODO: handle exceptions thrown by a promise being resolved within a then().

philraj/promises-from-scratch