Skip to content

Instantly share code, notes, and snippets.

@prettydiff
Created April 4, 2015 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prettydiff/e55e22a96792f5185363 to your computer and use it in GitHub Desktop.
Save prettydiff/e55e22a96792f5185363 to your computer and use it in GitHub Desktop.
recursive setTimeout example
var asdf = function () {
if (typeof myTargetFunction === function) {
return awesome();
}
setTimeout(asdf, 100);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment