Javascript find max value in array. Como arreglar cajones desfondados.

Mario castaneda. Mmbtu to gj.