Because it is specified that sub-arrays will contain no more than 4 elements, after comparing every element of sub-arrays to the previous ones and landing on the last one that is assigned to “biggest” binding, i push that one into array of bigs.
But something’s not working. Could someone tell me what it is?

thanks. I noticed few more problems - for example, after one subArray is looped over, “biggest” binding is still in the memory, so with the next sub array, every element of that one is compared to the previous “biggest”, instead of 0, as i want them to be. i fixed that by moving “let biggest = 0” to inside first (upper, i guess?) for loop, so that it gets set to 0 at the start of each iteration.

And setting it to 0 by default also fails when i have to compare to negative numbers. i could just set it to - 10000 instead, but that’s rather dumb solution