Js Get Index Of Largest Number In Array Leetcode