Demonstration code isn't about efficiency IMO. It's a simple demo of how the yield pattern lets us use basic flow-control stuff again. Perhaps it could also have some if/elses in there too:

```
if(yield aPromise) alert("Oh look I can use promises as if they're blocking");
```