function hasEqualValuesIndexed( x, y ) {
	var i;
	if ( x.length !== y.length ) {
		return false;
	}
	for ( i = 0; i < x.length; i++ ) {
		if ( x[ i ] !== y[ i ] ) {
			return false;
		}
	}
	return true;
}
Tests if two indexed arrays have equal values.

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

@example
var x = [ 0, 0, 1, 0 ];
var y = [ 0, 0, 1, 0 ];

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

@example
var x = [ 0, 0, 0, 0 ];
var y = [ 0, 0, 1, 0 ];

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