fill

fill(array array, any value, [number size])
Resizes array to given size and fills it with value.

Resizes the array array to the size size and fills all its slots with value.

Parameters