Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftresult buildersSingle-choice MCQ

Given this builder using `buildPartialBlock`, what does `out` print?

@resultBuilder struct Concat { static func buildPartialBlock(first: String) -> String { first } static func buildPartialBlock(accumulated: String, next: String) -> String { accumulated + next } } @Concat func build() -> String { "x" "y" "z" } let out = build()