randomIntWithLengthInRange
This commit is contained in:
@ -0,0 +1,4 @@
|
||||
module.exports = randomIntWithLengthInRange = (len, min, max) =>
|
||||
Array.from({ length: len }, () =>
|
||||
Math.floor(Math.random() * (max - min) + min)
|
||||
);
|
||||
Reference in New Issue
Block a user