Skip to content

Instantly share code, notes, and snippets.

@jonalmeida
Created May 19, 2012 07:33
Show Gist options
  • Save jonalmeida/2729886 to your computer and use it in GitHub Desktop.
Save jonalmeida/2729886 to your computer and use it in GitHub Desktop.
again
var items=[1,2,3];
foo = function(items, 1000){
bar = function(items[0]);
setTimeout( function(){
foo(items.slice(1), 1000
}, 1000)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment