Skip to content

Instantly share code, notes, and snippets.

@santiago
Created September 22, 2011 17:58
Show Gist options
  • Save santiago/1235488 to your computer and use it in GitHub Desktop.
Save santiago/1235488 to your computer and use it in GitHub Desktop.
> var arr= [0,1,2]
> arr
[ 0, 1, 2 ]
> arr['hola']= 'oe'
'oe'
> arr
[ 0, 1, 2, hola: 'oe' ]
> arr.hola
'oe'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment