What is the output of the following? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

What is the output of the following?

let names = ["c","a","e","b"] let res = names.sorted(by:<) print(res[0])

13th Jul 2018, 4:40 PM
Manas Gargate
Manas Gargate - avatar
1 ответ
+ 1
It is "a".
14th Jul 2018, 7:53 AM
Majstr