Domanda di colloquio di Novalnet

write a programme in javascript to find out 2nd largest number