Skip to main content
Journey Uncommon Logo
JourneyUncommon
easySwiftif let and guard letSingle-choice MCQ

Given this code, what is printed?

let name: String? = "Ada" if let name = name, name.count > 5 { print("long: \(name)") } else { print("short or nil") }