lib/memcached.js
function stats(resultSet) {
      var response = {};
      if (resultSetIsEmpty(resultSet)) return response;

      // add references to the retrieved server
      response.server = this.serverAddress;

      // Fill the object
      resultSet.forEach(function each(statSet) {
        if (statSet) response[statSet[0]] = statSet[1];
      });

      return response;
    }
function stats(resultSet) {
      var response = {};
      if (resultSetIsEmpty(resultSet)) return response;

      // add references to the retrieved server
      response.server = this.serverAddress;

      // Fill the object
      resultSet.forEach(function each(statSet) {
        if (statSet) response[statSet[0]] = statSet[1];
      });

      return response;
    }
function stats ( resultSet ) { var response = { } ; if ( resultSetIsEmpty ( resultSet ) ) return response ; // add references to the retrieved server response . server = this . serverAddress ; // Fill the object resultSet . forEach ( function each ( statSet ) { if ( statSet ) response [ statSet [ 0 ] ] = statSet [ 1 ] ; } ) ; return response ; }
combines the stats array, in to an object
combines the stats array in to an object