Created
June 4, 2016 01:39
-
-
Save aburgd/5f33a89b69142fee0518f5d83cdb569a 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
| var sb = require('starbucks') | |
| productivity = function(sb, stuff) { | |
| sb.drink(10) | |
| while (var done == false) { | |
| stuff.do() | |
| } | |
| } | |
| // notice how done is not made true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment