From 994b9ebda064ed2da87034e14686b58dce3be250 Mon Sep 17 00:00:00 2001 From: sreepurnajasti Date: Thu, 21 Dec 2017 10:55:21 +0530 Subject: [PATCH] benchmark: remove redundant + Fixes: https://github.com/nodejs/code-and-learn/issues/72 --- 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));