Skip to content

Instantly share code, notes, and snippets.

@geNAZt
Created February 17, 2013 13:20
Show Gist options
  • Save geNAZt/4971464 to your computer and use it in GitHub Desktop.
Save geNAZt/4971464 to your computer and use it in GitHub Desktop.
function step1() {
console.log("Step 1");
setTimeout(function () {
step2();
}, 2000);
}
function step2() {
console.log("Step 2");
setTimeout(function () {
step3();
}, 3000);
}
function step3() {
console.log("All Steps completed");
}
step1();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment