Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created February 28, 2017 18:38
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 codecademydev/5eb7cf528031d35ad24456359e12e025 to your computer and use it in GitHub Desktop.
Save codecademydev/5eb7cf528031d35ad24456359e12e025 to your computer and use it in GitHub Desktop.
Codecademy export
//Remember to make your condition true outside the loop!
var loopedOnce = true;
var soloLoop = function(){
//Your code goes here!
while (loopedOnce);
console.log("Looped once!");
loopedOnce === false;
};
soloLoop();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment