c1b68c581615b842ec7804111f71aafbf7f8c279
5 function generateRandomInteger (max
, min
= 0) {
7 return Math
.floor(Math
.random() * (max
- min
+ 1) + min
)
9 return Math
.floor(Math
.random() * max
+ 1)
12 const LIST_FORMATTER
= new Intl
.ListFormat('en-US', {
17 module
.exports
= { generateRandomInteger
, LIST_FORMATTER
}