text: function nthlargest(arr, highest) {
    var sorted = arr.sort((a, b) => {
      return a - b;
    });
    return sorted[sorted.length - highest];
  }
  
  const arr = [43, 56, 23, 89, 88, 90, 99, 652];
  const highest = 4;
  
  console.log(nthlargest(arr, highest));
  