Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
promises "resolve" !== "fullfill"
var def1 = when.defer();
var def2 = when.defer();
def1.promise.then(function( arg1 ) {
arg1 === def2.promise;
});
def1.resolve(def2.promise);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment