From: Jérôme Benoit Date: Mon, 24 Oct 2022 12:20:22 +0000 (+0200) Subject: Silence linter X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=67bc719403008a754ddd75d921eea5be7ed772d1;p=benchmarks-js.git Silence linter Signed-off-by: Jérôme Benoit --- diff --git a/benchmark-utils.js b/benchmark-utils.js index 961043b..678a2b3 100644 --- a/benchmark-utils.js +++ b/benchmark-utils.js @@ -34,6 +34,7 @@ function generateRandomInteger (max = Number.MAX_SAFE_INTEGER, min = 0) { * @param size * @param max * @param numberGenerator + * @returns */ function generateRandomNumberArray ( size, @@ -52,6 +53,7 @@ function generateRandomNumberArray ( * @param max * @param min * @param negative + * @returns */ function generateRandomFloat (max = Number.MAX_VALUE, min = 0, negative = true) { if (max < min || min < 0 || max < 0) {