Skip to content

Instantly share code, notes, and snippets.

@janv

janv/broken_promise.js

Last active Jan 29, 2021
Embed
What would you like to do?
A sad poem, written in Javascript
// Replacing callbacks with scumbacks
// Promises to call you back but then doesn't
// Getting your hopes up again
// and again
var brokenPromise = {
then: doesnt
};
function doesnt(callback){
return brokenPromise;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment