-
Notifications
You must be signed in to change notification settings - Fork 0
Collections
Philip Ford edited this page Jan 15, 2017
·
12 revisions
[item1, item2, ...]- The list items are separated by commas within brackets.
- To create an empty list, assign empty brackets to a reference.
[key1: value1, key2: value2, ...]- Syntax: a comma-separate list of key/value pairs in brackets.
- Each key is separated from its value by a colon.
- To create an empty map, assign brackets containing only a colon,
[:], to a reference.