benchamrk/runner.js: Add "()" to constructor invocations

Fixes the following JSHint errors:

  ./benchmark/runner.js: line 73, col 28, Missing '()' invoking a constructor.
  ./benchmark/runner.js: line 75, col 33, Missing '()' invoking a constructor.
redux
David Majda 13 years ago
parent cad3013966
commit 8841c31d1b

@ -70,9 +70,9 @@ Runner = {
var parseTime = 0;
for (var k = 0; k < runCount; k++) {
var t = (new Date).getTime();
var t = (new Date()).getTime();
state.parser.parse(input);
parseTime += (new Date).getTime() - t;
parseTime += (new Date()).getTime() - t;
}
var averageParseTime = parseTime / runCount;

Loading…
Cancel
Save