結果 : javascript get index of max value in array of objects