Swift

Dictionary

Key-value.

💡 THINK OF IT LIKE…
▸ YOUR TURN

Write let ages: [String: Int] = ["Ada": 30]

dict.swift
+100 XP
Tab indent · Shift+Tab outdent · ⌘/Ctrl + Enter submit · auto-pairs ( [ { " '