Knowledge Refresh 2 of 5
Understanding how data is organized is key to parsing and manipulating it:
- **List/Array**: An ordered collection of items.
- Example: `penguins = ["emperor", "king", "gentoo"]`
- Access Example (JS): `penguins[1]` returns `"king"`
- **Dictionary** (or Object/Map): An unordered collection of key-value pairs.
- Example: `penguins = {"beak": "yellow", "fins": "rounded"}`
- Access Example (JS): `penguins["beak"]` returns `"yellow"`
- Access Example (JS): `penguins.beak` returns `"crunchy"`