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 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
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.