Pergunta de entrevista da empresa Luxoft

How closures works in Swift?