so I have four arrays of different lengths. I'll call them one, two, three, four.
To find the longest, I put them in an array.
let length = [one.length, two.length, three.length, four.length];
so I get something like length = [10,54,22,4];
Math.max works find if I do Math.max(...length);
but I don't understand why
Math.max([one.length,two.length,three.length,four.length]) returns NaN.