Lets say I have this array:
var likes = [4,7,3,11,3,73,78,34,7,13];
However, I'm only capable of use the length of 5 due to some restrictions. So I want to "convert" it to an array lenght of 5, and sum the other positions, by distribute them equally.
Does anybody have a clue how can I do this?