Skip to content

Instantly share code, notes, and snippets.

@pgainda
Created May 7, 2013 19:09
Show Gist options
  • Save pgainda/5535245 to your computer and use it in GitHub Desktop.
Save pgainda/5535245 to your computer and use it in GitHub Desktop.
var i;
var animals = ["cat", "dog", "ferret"];
// Loop goes here
for (i=0;i<animals.length;i++){
console.log(animals[i]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment