Created
April 8, 2019 21:51
-
-
Save pratyushcrd/a1bd780167eb0f39e30bbe7389caa315 to your computer and use it in GitHub Desktop.
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
function buyBread (input) { | |
return gotoStore(input) | |
.then(() => { | |
return buyBrownBread(input) | |
.catch(() => buyWhiteBread(input)) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment