function getter( x, idx ) {
	if ( typeof x.get === 'function' ) {
		return x.get( idx );
	}
	return x[ idx ];
}
Returns an array element.

@private
@param {ArrayLike} x - input array
@param {NonNegativeInteger} idx - element index
@returns {*} array element