function repeat( val, len ) {
	var out = new Array( len );
	var i;

	for ( i = 0; i < len; i++ ) {
		out[ i ] = val;
	}
	return out;
}
Returns an array of a chosen length filled with the supplied value.

@private
@param {*} val - value to repeat
@param {NonNegativeInteger} len - array length
@returns {Array} filled array