iOS Swift - Concurrency
Consider this code snippet:
await withTaskGroup(of: Int.self) { group in
for i in 1...3 {
group.addTask { [i] in i * 2 }
}
var results = [Int]()
for await value in group {
results.append(value)
}
print(results.sorted())
What does this print?