repositories
/
benchmarks-js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb629f
)
Silence linter
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 24 Oct 2022 12:20:22 +0000
(14:20 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 24 Oct 2022 12:20:22 +0000
(14:20 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
benchmark-utils.js
patch
|
blob
|
blame
|
history
diff --git
a/benchmark-utils.js
b/benchmark-utils.js
index 961043b03ca0d233295607608356d33ebb61ea65..678a2b3b80ae28a7367ade71a1993ee77b45d640 100644
(file)
--- 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) {