function assign( x, y, stride, offset, predicate, thisArg ) {
	var xo = arraylike2object( x );
	var yo = arraylike2object( y );

	if (
		xo.accessorProtocol ||
		yo.accessorProtocol
	) {
		return accessors( xo, yo, stride, offset, predicate, thisArg );
	}
	indexed( x, y, stride, offset, predicate, thisArg );
	return y;
}
Cumulatively tests whether at least one element in a provided array passes a test implemented by a predicate function and assigns results to a provided output array.

@param {Collection} x - input array
@param {Collection} y - output array
@param {integer} stride - output array stride
@param {NonNegativeInteger} offset - output array offset
@param {Function} predicate - test function
@param {*} [thisArg] - execution context
@returns {Collection} output array

@example
function isPositive( v ) {
    return v > 0;
}

var x = [ 0, 0, 0, 1, 0 ];
var y = [ false, null, false, null, false, null, false, null, false, null ];

var out = assign( x, y, 2, 0, isPositive );
// returns [ false, null, false, null, false, null, true, null, true, null ]

var bool = ( y === out );
// returns true