Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Object JavaScript - Promise using Q
Q.delay(2000)
.then(function () {
alert('super!');
}, function () {
alert('something went wrong');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment