bench/lib/benchmark.js
function toInteger(value) {
    value = +value;
    return value === 0 || !isFinite(value) ? value || 0 : value - (value % 1);
  }
function toInteger(value) {
    value = +value;
    return value === 0 || !isFinite(value) ? value || 0 : value - (value % 1);
  }
function toInteger ( value ) { value = + value ; return value === 0 || ! isFinite ( value ) ? value || 0 : value - ( value % 1 ) ; }
Converts the specified `value` to an integer.

@private
@param {Mixed} value The value to convert.
@returns {Number} The resulting integer.
Converts the specified value to an integer .