what about arrays?
what if i paste this in a html and you want to copy it? all your spaces will be stripped.
nice thought anyway.
nice thought anyway.
So Space objects are both hash tables and arrays. For example say you had a variable named account with the space value:
charges
coffee $2.12
soda $1.21
cupcake $2.50
You could access the individual elements of this object like you would a hash table: account.get('charges soda')
// Returns $1.21
Or like an array: account.get('charges').get(1)
// Returns $1.21