Skip to content

Instantly share code, notes, and snippets.

@gil00pita
Last active December 18, 2015 20:29
Show Gist options
  • Save gil00pita/5841025 to your computer and use it in GitHub Desktop.
Save gil00pita/5841025 to your computer and use it in GitHub Desktop.
CSS: Array
var contactArray = [{name:"Bob", email:"bob@email.com"},{name:"Sara", email:"sara@email.com"}];
trace(contactArray[0].name + ", " + contactArray[0].email);
The above code will output the following: Bob, bob@email.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment