Swift - Collections
Which Swift code snippet correctly iterates over an array
values using enumerated() to access both index and element?values using enumerated() to access both index and element?enumerated() must be called with parentheses.(idx, val).enumerated. Options C and D do not unpack the tuple correctly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions