Created
September 3, 2019 22:40
-
-
Save jackpordi/a2e10641b78b17056802cac2ab1cf47c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 makeSoup() { | |
const pot = boilPot(); | |
chopCarrots(); | |
chopOnions(); | |
await pot; | |
addCarrots(); | |
await letPotKeepBoiling(5); | |
addOnions(); | |
await letPotKeepBoiling(10); | |
console.log("Your vegetable soup is ready!"); | |
} | |
makeSoup(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment