src/helpers/helpers.core.js
function(a0, a1) {
		var i, ilen, v0, v1;

		if (!a0 || !a1 || a0.length !== a1.length) {
			return false;
		}

		for (i = 0, ilen = a0.length; i < ilen; ++i) {
			v0 = a0[i];
			v1 = a1[i];

			if (v0 instanceof Array && v1 instanceof Array) {
				if (!helpers.arrayEquals(v0, v1)) {
					return false;
				}
			} else if (v0 !== v1) {
				// NOTE: two different object instances will never be equal: {x:20} != {x:20}
				return false;
			}
		}

		return true;
	}
function(a0, a1) {
		var i, ilen, v0, v1;

		if (!a0 || !a1 || a0.length !== a1.length) {
			return false;
		}

		for (i = 0, ilen = a0.length; i < ilen; ++i) {
			v0 = a0[i];
			v1 = a1[i];

			if (v0 instanceof Array && v1 instanceof Array) {
				if (!helpers.arrayEquals(v0, v1)) {
					return false;
				}
			} else if (v0 !== v1) {
				// NOTE: two different object instances will never be equal: {x:20} != {x:20}
				return false;
			}
		}

		return true;
	}
function ( a0 , a1 ) { var i , ilen , v0 , v1 ; if ( ! a0 || ! a1 || a0 . length !== a1 . length ) { return false ; } for ( i = 0 , ilen = a0 . length ; i < ilen ; ++ i ) { v0 = a0 [ i ] ; v1 = a1 [ i ] ; if ( v0 instanceof Array && v1 instanceof Array ) { if ( ! helpers . arrayEquals ( v0 , v1 ) ) { return false ; } } else if ( v0 !== v1 ) { // NOTE: two different object instances will never be equal: {x:20} != {x:20} return false ; } } return true ; }
Returns true if the `a0` and `a1` arrays have the same content, else returns false.
@see https://stackoverflow.com/a/14853974
@param {Array} a0 - The array to compare
@param {Array} a1 - The array to compare
@returns {boolean}
Returns true if the a0 and a1 arrays have the same content else returns false .