function accessors( x, clbk, thisArg ) {
	var data;
	var get;
	var i;

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

	for ( i = 0; i < data.length; i++ ) {
		clbk.call( thisArg, get( data, i ), i, data );
	}
}
Invokes a callback function once for each array element.

@private
@param {Collection} x - input array
@param {Function} clbk - callback function
@param {*} thisArg - callback execution context
@returns {void}

@example
var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
var arraylike2object = require( '@stdlib/array/base/arraylike2object' );
var naryFunction = require( '@stdlib/utils/nary-function' );
var log = require( '@stdlib/console/log' );

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

accessors( x, naryFunction( log, 1 ) );