Skip to content

Instantly share code, notes, and snippets.

@WebReflection
Created February 6, 2013 20:36
Show Gist options
  • Select an option

  • Save WebReflection/4725577 to your computer and use it in GitHub Desktop.

Select an option

Save WebReflection/4725577 to your computer and use it in GitHub Desktop.
JUST LOL JSLINT
var a, b; // JUST LOL JSLINT !
// tell me how less confusing this is ^_^
// a can do async stuff
// then b is needed
function a() {
setTimeout(b, 1);
}
// b can be used regardless a()
// if repeat is true
// a() might be needed
function b(repeat) {
if (repeat) {
a();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment