src/aria/utils/Profiling.js
function (name, step) {
            if (this._counters.hasOwnProperty(name)) {
                this._counters[name] += (step || 1);
            } else {
                this._counters[name] = (step || 1);
            }
        }
function (name, step) {
            if (this._counters.hasOwnProperty(name)) {
                this._counters[name] += (step || 1);
            } else {
                this._counters[name] = (step || 1);
            }
        }
function ( name , step ) { if ( this . _counters . hasOwnProperty ( name ) ) { this . _counters [ name ] += ( step || 1 ) ; } else { this . _counters [ name ] = ( step || 1 ) ; } }
Increment a counter with a given name by an arbitrary value.
@param {String} name Name of the counter
@param {Number} step Value to be added, Default 1
Increment a counter with a given name by an arbitrary value .