Skip to content

Commit aa21d55

Browse files
sreepurnajastievanlucas
authored andcommitted
benchmark: remove redundant +
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>
1 parent 8e084d8 commit aa21d55

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)