Retail Sols interview question

second largest number in an array in javascript