Created
September 3, 2019 22:41
-
-
Save jackpordi/8f6703e3448887794f6989e27c2d69c3 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
| async 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