Skip to content

Instantly share code, notes, and snippets.

@cassiozen
Created November 28, 2018 23:56
Show Gist options
  • Save cassiozen/bfccb61cc67e25dd074b5476ba21c435 to your computer and use it in GitHub Desktop.
Save cassiozen/bfccb61cc67e25dd074b5476ba21c435 to your computer and use it in GitHub Desktop.
const houses = [ "Stark", "Lannister", "Tyrell", "Arryn", "Targaryen", "Baratheon" ];
houses[2]; // "Tyrell"
houses.push("Martell");
houses.length; //7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment