Skip to content

Commit

Permalink
benchmark: remove redundant +
Browse files Browse the repository at this point in the history
PR-URL: #17803
Refs: nodejs/code-and-learn#72
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
sreepurnajasti authored and BridgeAR committed Jan 19, 2018
1 parent 4b9ba9b commit f6ae451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/assert/deepequal-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ function createObj(source, add = '') {
}

function main(conf) {
const size = +conf.size;
const size = conf.size;
// TODO: Fix this "hack"
const n = (+conf.n) / size;
const n = conf.n / size;
var i;

const source = Array.apply(null, Array(size));
Expand Down

0 comments on commit f6ae451

Please sign in to comment.