DEV Community

Discussion on: Interview Qs Decoded - # 1

Collapse
 
caelumf profile image
CaelumF

Why not return arr.sortDescending()[1] ?