Dictionaries
Learn how to store pairs of data using the dictionary collection type.
StartKey Concepts
Review core concepts you need to learn to master this subject
Dictionary
Keys
Type Consistency
Initialize a Populated Dictionary
Initialize an Empty Dictionary
Adding to a Dictionary
Removing Key-Value Pairs
Modifying Key-Value Pairs
Dictionary
Dictionary
var dictionaryName = [
"Key1": "Value1",
"Key2": "Value2",
"Key3": "Value3"
]
A dictionary is an unordered collection of paired data, or key-value pairs.
Dictionaries
Lesson 1 of 1
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory