Skip to content

Instantly share code, notes, and snippets.

@ssanusi
Created September 12, 2017 02:24
Show Gist options
  • Save ssanusi/9b6735f24cb547c606cfcbcf570c0ce8 to your computer and use it in GitHub Desktop.
Save ssanusi/9b6735f24cb547c606cfcbcf570c0ce8 to your computer and use it in GitHub Desktop.
unformatted created by ssanusi - https://repl.it/Kxk5/0
function unformatted() {
function innerFunction(count) {
while(count > 0) {
count--;
if(count===2) {
console.log("count is two!");
}
}
console.log("are we still in the inner func?");
}
innerFunction(5);
return "end of the func";
}
unformatted();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment