Skip to content

Instantly share code, notes, and snippets.

@0GiS0
Created February 3, 2019 17:41
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 0GiS0/6905eba6ce433850658c59d74e3215d9 to your computer and use it in GitHub Desktop.
Save 0GiS0/6905eba6ce433850658c59d74e3215d9 to your computer and use it in GitHub Desktop.
var animals = ['dog', 'cat', 'fish', 'horse', 'lion', 'bird'];
console.log(animals[0]); //dog
console.log(animals[4]); //lion
console.log(animals[2]); //fish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment