void fillRange(int start, int end, [ E fillValue ])

Sets the objects in the range start inclusive to end exclusive to the given fillValue.

An error occurs if start..end is not a valid range for this.

Source

void fillRange(int start, int end, [E fillValue]);