Swift - Collections
What happens if you create a Swift dictionary with duplicate keys in the literal?
let dict = ["x": 1, "y": 2, "x": 3]
let dict = ["x": 1, "y": 2, "x": 3]
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions