function accessors( x, y ) {
	var xdata;
	var ydata;
	var xget;
	var yget;
	var i;

	xdata = x.data;
	ydata = y.data;

	xget = x.accessors[ 0 ];
	yget = y.accessors[ 0 ];

	for ( i = 0; i < xdata.length; i++ ) {
		if ( xget( xdata, i ) !== yget( ydata, i ) ) {
			return false;
		}
	}
	return true;
}
Tests if two arrays have equal values.

@private
@param {Object} x - first input array object
@param {Object} y - second input array object
@returns {boolean} boolean indicating if both arrays have equal values

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

var x = arraylike2object( toAccessorArray( [ 0, 0, 1, 0 ] ) );
var y = arraylike2object( toAccessorArray( [ 0, 0, 1, 0 ] ) );

var out = accessors( x, y );
// returns true

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

var x = arraylike2object( toAccessorArray( [ 0, 0, 0, 0 ] ) );
var y = arraylike2object( toAccessorArray( [ 0, 0, 1, 0 ] ) );

var out = accessors( x, y );
// returns false