repositories
/
benchmarks-js.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refine a bit eslint configuration
[benchmarks-js.git]
/
benchmark-utils.js
diff --git
a/benchmark-utils.js
b/benchmark-utils.js
index 4cddc6d5fe5defe31cf6ba306e87853f68b1573c..c1b68c581615b842ec7804111f71aafbf7f8c279 100644
(file)
--- a/
benchmark-utils.js
+++ b/
benchmark-utils.js
@@
-1,3
+1,7
@@
+/**
+ * @param max
+ * @param min
+ */
function generateRandomInteger (max, min = 0) {
if (min) {
return Math.floor(Math.random() * (max - min + 1) + min)