Can someone tell me what exactly the two above lines of javascript do? And more importantly, what it’s called so I can search some javascript references to learn about it? I assume they are both creating some form of an array that objects can be added to…?
Share
It creates an empty dictionary in
mapand an empty array inlist.Read up on these structures at http://www.geocities.com/schools_ring/ArrayAndHash.html.