function arraysEqual(a, b) {
  if (a === b) {
    return true;
  }
  if (a == null || b == null) {
    return false;
  }
  if (a.length != b.length) {
    return false;
  }
  for (var i = 0; i < a.length; ++i) {
    if (a[i] !== b[i]) {
      return false;
    }
  }
  return true;
}
/**
 * Returns whether the two arrays are equal.
 *
 * @param {Any[]} a
 * @param {Any[]} b
 */
Returns whether the two arrays are equal.
Returns whether the two arrays are equal .
function arraysEqual(a, b) {
  if (a === b) {
    return true;
  }
  if (a == null || b == null) {
    return false;
  }
  if (a.length != b.length) {
    return false;
  }
  for (var i = 0; i < a.length; ++i) {
    if (a[i] !== b[i]) {
      return false;
    }
  }
  return true;
}
function arraysEqual ( a , b ) { if ( a === b ) { return true ; } if ( a == null || b == null ) { return false ; } if ( a . length != b . length ) { return false ; } for ( var i = 0 ; i < a . length ; ++ i ) { if ( a [ i ] !== b [ i ] ) { return false ; } } return true ; }
Returns whether the two arrays are equal.
Returns whether the two arrays are equal .