lib/multi.js
function setInitialState(ret) {
    
    var e, r;
    
    // Before resetting, keep a copy of args
    if (ret) {
      e = (errored ? errors : null);
      r = results;
    }
    
    // Reset runtime vars to their default state
    counter = 0;
    errored = false;
    errors = [];
    results = [];
    
    // Flush stack on first run or when config.flush is true
    if (stack == null || config.flush) stack = [];
    
    // Return prepared arguments
    if (ret) return [e, r];

  }
function setInitialState(ret) {
    
    var e, r;
    
    // Before resetting, keep a copy of args
    if (ret) {
      e = (errored ? errors : null);
      r = results;
    }
    
    // Reset runtime vars to their default state
    counter = 0;
    errored = false;
    errors = [];
    results = [];
    
    // Flush stack on first run or when config.flush is true
    if (stack == null || config.flush) stack = [];
    
    // Return prepared arguments
    if (ret) return [e, r];

  }
function setInitialState ( ret ) { var e , r ; // Before resetting, keep a copy of args if ( ret ) { e = ( errored ? errors : null ) ; r = results ; } // Reset runtime vars to their default state counter = 0 ; errored = false ; errors = [ ] ; results = [ ] ; // Flush stack on first run or when config.flush is true if ( stack == null || config . flush ) stack = [ ] ; // Return prepared arguments if ( ret ) return [ e , r ] ; }
Sets the initial state of multi
Sets the initial state of multi