1var groceries = [
2'milk',
3'coriander',
4'cucumber',
5'eggplant'
6]
7let mygroceries = groceries[Math.floor(Math.random() * groceries.length)]
8console.log(mygroceries)//This gives you any string from groceries
9
10
1var textArray = [
2 'song1.ogg',
3 'song2.ogg'
4];
5var randomNumber = Math.floor(Math.random()*textArray.length);