Pregunta de entrevista de Retail Sols

second largest number in an array in javascript