function(update, options) {
          var count = 0
          for (var id in this.cache) {
            this.cache[id].count += update.n
            count += 1
          }
          // demonstrate full return type
          return {val: count, created: false}
        }
function(update, options) {
          var count = 0
          for (var id in this.cache) {
            this.cache[id].count += update.n
            count += 1
          }
          
          return {val: count, created: false}
        }
function ( update , options ) { var count = 0 for ( var id in this . cache ) { this . cache [ id ] . count += update . n count += 1 } // demonstrate full return type return { val : count , created : false } }
post-updateConfig-memCacheCounterBasic pre-update-memCacheCounterBasic
post - updateConfig - memCacheCounterBasic pre - update - memCacheCounterBasic