lib/stack.utility.js
function(a,b,beStrict){
           if(this.isArray(a) && this.isArray(b)){
            var alen = a.length, i = 0;
            if(beStrict){
             if(alen !== (b).length){ return false; }
           }

           for(; i < alen; i++){
             if(a[i] === undefined || b[i] === undefined) break;
             if(b[i] !== a[i]){
              return false;
              break;
            }
          }
          return true;
        }
    }
function(a,b,beStrict){
           if(this.isArray(a) && this.isArray(b)){
            var alen = a.length, i = 0;
            if(beStrict){
             if(alen !== (b).length){ return false; }
           }

           for(; i < alen; i++){
             if(a[i] === undefined || b[i] === undefined) break;
             if(b[i] !== a[i]){
              return false;
              break;
            }
          }
          return true;
        }
    }
function ( a , b , beStrict ) { if ( this . isArray ( a ) && this . isArray ( b ) ) { var alen = a . length , i = 0 ; if ( beStrict ) { if ( alen !== ( b ) . length ) { return false ; } } for ( ; i < alen ; i ++ ) { if ( a [ i ] === undefined || b [ i ] === undefined ) break ; if ( b [ i ] !== a [ i ] ) { return false ; break ; } } return true ; } }
use to match arrays to arrays to ensure values are equal to each other, useStrict when set to true,ensures the size of properties of both arrays are the same
use to match arrays to arrays to ensure values are equal to each other useStrict when set to true ensures the size of properties of both arrays are the same