function accessors( x, separator ) {
	var data;
	var out;
	var get;
	var N;
	var v;
	var i;

	data = x.data;
	get = x.accessors[ 0 ];

	N = data.length - 1;
	out = '';
	for ( i = 0; i <= N; i++ ) {
		v = get( data, i );
		if ( !isUndefinedOrNull( v ) ) {
			out += String( v );
		}
		if ( i < N ) {
			out += separator;
		}
	}
	return out;
}
Returns a string created by joining elements in an accessor array using a specified separator.

@private
@param {Object} x - input array object
@param {integer} separator - separator
@returns {string} output string

@example
var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
var arraylike2object = require( '@stdlib/array/base/arraylike2object' );

var x = arraylike2object( toAccessorArray( [ 1, 2, 3, 4 ] ) );

var out = accessors( x, ',' );
// returns '1,2,3,4'