diff --git a/util/randomNumber.js b/util/randomNumber.js index 3101e12..485e985 100644 --- a/util/randomNumber.js +++ b/util/randomNumber.js @@ -1,3 +1 @@ -module.exports = function (min, max) { - return Math.floor(Math.random() * (max - min + 1) + min); -} \ No newline at end of file +module.exports = (min,max) => Math.floor(Math.random() * (max - min + 1) + min); \ No newline at end of file