Level 1M6Lesson 6.10

beginner35 minby DevFox

Dictionaries and collections: Record, Map, and Set

Keep values under names that are data with Record, count with a Map whose get admits a missing key, and keep each value once with a Set. See why a Record’s brackets trust you while a Map’s get makes you write ?? 0, and choose the one a job needs.

  • Fundamentals
  • TypeScript
Dictionaries and collections: `Record`, `Map`, and `Set`. Read this lesson at .