- Implement a coin flip game to practise Javascript asynchronous programming
- Leave enough documentation so that I can remind myself of the basics later.
Flip a coin. If the coin lands on "heads", keep flipping. End on the first "tails"
- Callbacks with 1 parameter
- Callbacks with 2 parameters (error, result)
- Callbacks with 3 parameters (error, result, next)
- Promises
- Async await