What does this program print?
swift
enum Channel: String {
case email
case push
}
for token in ["email", "sms", "push"] {
print(Channel(rawValue: token)?.rawValue ?? "unknown")
}
enum Channel: String {
case email
case push
}
for token in ["email", "sms", "push"] {
print(Channel(rawValue: token)?.rawValue ?? "unknown")
}