Skip to main content
Journey Uncommon Logo
JourneyUncommon
easySwiftnil coalescingSingle-choice MCQ

What does this code print?

let scores: [String: Int] = ["math": 90] print(scores["science"] ?? -1)