Skip to main content
Journey Uncommon Logo
JourneyUncommon
easySwiftdeferSingle-choice MCQ

In this loop, when does the defer block run?

for i in 1...3 { defer { print("deferred \(i)") } print("loop \(i)") }