Asper AI interview question

find the second largest element in the array JS