Chapter 3
Collection and Range
Section 1
DictionaryLiteral Renamed
DictionaryLiteral object are lightweight key value pairs that look exactly like a dictionary, and behave like a dictionary, but with two major differences. The first one being that it is possible to have a duplicate key in a dictionary literal. The second major difference is that the values inside of a dictionary literal object are ordered. These two differences mean that it is not right to think of dictionary literal as a dictionary, since dictionary does not allow duplicate keys and values are not ordered.