RateCounter.prototype.increment
Increment the given entry in the RateCounter instance with the given delta value.
Syntax
increment(entry, delta)
Parameters
entry: string- The name of the entry to look up
delta: number- The amount to increment the entry by
Return value
Returns undefined.
Exceptions
TypeError- Thrown if the provided
entryvalue can not be coerced into a string - Thrown if the provided
deltavalue is not a positive, finite number.
- Thrown if the provided