Quotes help make search much faster. Example: "Practice Makes Perfect"

Wednesday, December 5, 2012

Codecademy: Codeyear Looping Through Arrays


//sample solution

var i;
var animals = ["cat", "dog", "ferret"];

// Loop goes here
for(i=0;i<animals.length;i++){
console.log(animals[i]);
}

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts