I have a multidimensional array with names and corresponding integer values. I want to compare the integer values within each nested array to find and return the one with the highest value.
var nums = [
['alice', 'exam', 60],
['dave', 'quiz', 85]
];
What is the best way to iterate through the arrays in the "nums" array and identify the array with the greatest integer value?