Skip to content

Instantly share code, notes, and snippets.

Created April 6, 2017 04:30
Show Gist options
  • Save anonymous/0253c4e8536affc290a0ac091aaad26a to your computer and use it in GitHub Desktop.
Save anonymous/0253c4e8536affc290a0ac091aaad26a to your computer and use it in GitHub Desktop.
1.1 Format the Unformatted created by smillaraaq - https://repl.it/GtLZ/2
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";
}
console.log(innerFunction);
unformatted();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment