virtual-stats.js
function VirtualStats(config) {
  for (var key in config) {
    if (!config.hasOwnProperty(key)) {
      continue;
    }
    this[key] = config[key];
  }
}
function VirtualStats(config) {
  for (var key in config) {
    if (!config.hasOwnProperty(key)) {
      continue;
    }
    this[key] = config[key];
  }
}
function VirtualStats ( config ) { for ( var key in config ) { if ( ! config . hasOwnProperty ( key ) ) { continue ; } this [ key ] = config [ key ] ; } }
Create a new stats object.
@param {Object} config Stats properties.
@constructor
Create a new stats object .