lib/record-patch-builder.js
function equalSimpleArrays(arr1, arr2) {

	if (arr1 && (arr1.length > 0))
		return (
			arr2 &&
				(arr2.length === arr1.length) &&
				arr2.every((v, i) => (v === arr1[i]))
		);

	return (!arr2 || (arr2.length === 0));
}
function equalSimpleArrays(arr1, arr2) {

	if (arr1 && (arr1.length > 0))
		return (
			arr2 &&
				(arr2.length === arr1.length) &&
				arr2.every((v, i) => (v === arr1[i]))
		);

	return (!arr2 || (arr2.length === 0));
}
function equalSimpleArrays ( arr1 , arr2 ) { if ( arr1 && ( arr1 . length > 0 ) ) return ( arr2 && ( arr2 . length === arr1 . length ) && arr2 . every ( ( v , i ) => ( v === arr1 [ i ] ) ) ) ; return ( ! arr2 || ( arr2 . length === 0 ) ) ; }
Test if two simple value arrays are equal.

@private
@param {?Array} arr1 Array 1.
@param {?Array} arr2 Array 2.
@returns {boolean} <code>true</code> if considered equal.
Test if two simple value arrays are equal .