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:"[email protected]"},{name:"Sara", email:"[email protected]"}];
trace(contactArray[0].name + ", " + contactArray[0].email);
The above code will output the following: Bob, [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment