Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function maxTimes(func, times){
- var cntr = times;
- return function(){
- if(cntr--)
- func()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement