6 lines
107 B
JavaScript
6 lines
107 B
JavaScript
|
module.exports = {
|
||
|
randomArray: (arr) => {
|
||
|
return arr[Math.floor(Math.random() * arr.length)]
|
||
|
},
|
||
|
}
|