Created
September 8, 2016 13:23
-
-
Save pietrom/9ffb22d7658158d2cb801a69fc3b0ed8 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 after(times, callback) { | |
| return function() { | |
| times--; | |
| if(times === 0) { | |
| callback(); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment