Skip to content

Instantly share code, notes, and snippets.

@toddseller
Created December 7, 2015 23:43
Show Gist options
  • Save toddseller/7981946a6ccbf69a3fb6 to your computer and use it in GitHub Desktop.
Save toddseller/7981946a6ccbf69a3fb6 to your computer and use it in GitHub Desktop.
Calling an Array Element
my_array = ["Apples", "Oranges", 67, ["hello", "world"]]
my_array[0]
>> "Apples"
my_array[3]
>> ["hello", "world"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment