Skip to content

Instantly share code, notes, and snippets.

@AliceWonderland
Forked from anonymous/1.3 CleanCode.js
Created April 6, 2017 04:32
Show Gist options
  • Save AliceWonderland/10865ef5f9b3198760a93d2a46e13640 to your computer and use it in GitHub Desktop.
Save AliceWonderland/10865ef5f9b3198760a93d2a46e13640 to your computer and use it in GitHub Desktop.
1.3 CleanCode created by smillaraaq - https://repl.it/GtNN/3
function aFunction(num){
for(var i=0; i<num; i++){
if(i%2 === 0){
console.log("is even!");
}else{
console.log("is odd!");
}
console.log("current number is ", i);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment