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 <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
sreepurnajasti authored and evanlucas committed Jan 30, 2018
1 parent 8e084d8 commit aa21d55
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 aa21d55

Please sign in to comment.