Created
June 14, 2015 23:05
-
-
Save cgrinaldi/84e26277c3d3f78ec139 to your computer and use it in GitHub Desktop.
An example of the callback pyramid of doom
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
a (function (data1) { | |
b (function (data2) { | |
c (function (data3) { | |
d (function (data4) { | |
e (function (data5) { | |
f (function (data6) { | |
// The Egyptions would be jealous of this pyramid! | |
}) | |
} | |
}) | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment