web/src/vendor/benchmarkjs-runner/runner.js
/**
   * Helper for comma-separating numbebrs
   */
Helper for comma-separating numbebrs
Helper for comma - separating numbebrs
function n(x, round) {
    if (round > 0) {
      var exp = Math.pow(10, round);
      return Math.round(x * exp)/exp;
    }
    return parseInt(x, 10).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
  }
function n ( x , round ) { if ( round > 0 ) { var exp = Math . pow ( 10 , round ) ; return Math . round ( x * exp ) / exp ; } return parseInt ( x , 10 ) . toString ( ) . replace ( / \B(?=(\d{3})+(?!\d)) / g , "," ) ; }
Helper for comma-separating numbebrs
Helper for comma - separating numbebrs
// http://stackoverflow.com/questions/2901102/how-to-print-a-number-with-commas-as-thousands-separators-in-javascript