Last active
May 6, 2023 03:55
-
-
Save janv/6010141 to your computer and use it in GitHub Desktop.
A sad poem, written in Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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