fill(val); fill(val, start); //fills array with value of val at index start fill(val, start, end); //fills array with value of val at index start to index end