From aa21d55403397d02836d39d3012a0d6b098fbb78 Mon Sep 17 00:00:00 2001 From: sreepurnajasti Date: Thu, 21 Dec 2017 10:55:21 +0530 Subject: [PATCH] benchmark: remove redundant + PR-URL: https://github.com/nodejs/node/pull/17803 Refs: https://github.com/nodejs/code-and-learn/issues/72 Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: Rich Trott --- benchmark/assert/deepequal-object.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/assert/deepequal-object.js b/benchmark/assert/deepequal-object.js index 2efa9452af88e1..4ad3704408384d 100644 --- a/benchmark/assert/deepequal-object.js +++ b/benchmark/assert/deepequal-object.js @@ -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));