Retail Sols Interview Question

second largest number in an array in javascript