Get the Index of the Max Value of an Array in JavaScript

Get the Index of the Max Value of an Array in JavaScript