Skip to content

Instantly share code, notes, and snippets.

@sandboxws
Created September 28, 2011 18:50
Show Gist options
  • Select an option

  • Save sandboxws/1248852 to your computer and use it in GitHub Desktop.

Select an option

Save sandboxws/1248852 to your computer and use it in GitHub Desktop.
JavaScript for loop
var languages = ['Ruby', 'CoffeeScript', 'JavaScript'];
for(var i=0; i < languages.length; i++) {
console.log(languages[i]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment