Javascript Select vector with the greatest number of items [closed]

I have 4 arrays: Note: Length of array length is different in any session var Class_A = [8, 11, 3, 9, 11, 16, 16]; var Class_B = [2, 6, 12, 13, 20, 22, 33, 40, 50, 66, 77]; // Greatest length with 11 …