Skip to content

Commit 20734dc

Browse files
sreepurnajastievanlucas
authored andcommitted
benchmark: remove redundant +
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]>
1 parent 97775f1 commit 20734dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/assert/deepequal-object.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ function createObj(source, add = '') {
2626
}
2727

2828
function main(conf) {
29-
const size = +conf.size;
29+
const size = conf.size;
3030
// TODO: Fix this "hack"
31-
const n = (+conf.n) / size;
31+
const n = conf.n / size;
3232
var i;
3333

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

0 commit comments

Comments
 (0)