So I can get it to look more professional and concise. The Math.max function requires a list of numbers, which the above code does indeed provide. However it’s unsightly. There must be a better way than explicitly referring to every single array element like that.
I was wondering if I could use a map for this but I don’t know how?