Skip to content

Instantly share code, notes, and snippets.

@quirkey
Created August 3, 2009 19:16
Show Gist options
  • Select an option

  • Save quirkey/160772 to your computer and use it in GitHub Desktop.

Select an option

Save quirkey/160772 to your computer and use it in GitHub Desktop.
var ob = {
sleep: function(howlong, sig) {
for(i=0; i < howlong; i++) {
console.log(sig, howlong)
}
}
}
ob.sleep(10, 'first');
ob.sleep(2, 'second');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment