function equal(source, match) {
  if (source.length !== match.length) return false;
  for (let i = 0; i < match.length; i++) {
    if (source[i] !== match[i]) return false;
  }
  return true;
}
/** Check whether binary arrays are equal to each other.
 * @param source first array to check equality
 * @param match second array to check equality
 */
Check whether binary arrays are equal to each other.
@param source first array to check equality
@param match second array to check equality
Check whether binary arrays are equal to each other . @param source first array to check equality @param match second array to check equality
function equal(source, match) {
  if (source.length !== match.length) return false;
  for (let i = 0; i < match.length; i++) {
    if (source[i] !== match[i]) return false;
  }
  return true;
}
function equal ( source , match ) { if ( source . length !== match . length ) return false ; for ( let i = 0 ; i < match . length ; i ++ ) { if ( source [ i ] !== match [ i ] ) return false ; } return true ; }
Check whether binary arrays are equal to each other.
Check whether binary arrays are equal to each other .