Pregunta de entrevista de Revolut

How do capture lists work in Swift?