From 12a466637f5f24c30b0074ab6db00c3c6f909e66 Mon Sep 17 00:00:00 2001 From: Nicolas Morel Date: Sun, 11 Nov 2018 14:42:22 +0100 Subject: [PATCH] Fixes for #1642. --- benchmarks/suite.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/benchmarks/suite.js b/benchmarks/suite.js index bc8d3d570..e2411ae46 100644 --- a/benchmarks/suite.js +++ b/benchmarks/suite.js @@ -72,10 +72,11 @@ module.exports = [ () => { const list = []; - for (let i = 10000; i < 50000; i++) { + for (let i = 10000; i < 50000; ++i) { list.push(i.toString()); } - return [list.filter(x => !['12345', '23456', '34567', '456789'].includes(x))]; + + return [list.filter((x) => !['12345', '23456', '34567', '456789'].includes(x))]; }, (list) => { @@ -89,7 +90,7 @@ module.exports = [ () => { const list = []; - for (let i = 10000; i < 50000; i++) { + for (let i = 10000; i < 50000; ++i) { list.push(i.toString()); } @@ -101,7 +102,7 @@ module.exports = [ return `${10000 + (++i % 40000)}`; }; - return [ schema, value, () => '5000' ]; + return [schema, value, () => '5000']; }, (schema, value) => {