From: Jérôme Benoit Date: Mon, 24 Oct 2022 20:44:46 +0000 (+0200) Subject: Remove now unused helper X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2bacb639ecf09eadfa9cecd4bc75280456d1ec20;p=benchmarks-js.git Remove now unused helper Signed-off-by: Jérôme Benoit --- diff --git a/benchmark-utils.js b/benchmark-utils.js index 35b47f9..5694a97 100644 --- a/benchmark-utils.js +++ b/benchmark-utils.js @@ -69,16 +69,10 @@ async function sleep (ms) { return new Promise(resolve => setTimeout(resolve, ms)) } -const LIST_FORMATTER = new Intl.ListFormat('en-US', { - style: 'long', - type: 'conjunction' -}) - module.exports = { generateRandomInteger, generateRandomFloat, generateRandomNumberArray, sleep, - secureRandom, - LIST_FORMATTER + secureRandom }