Mixed Messages Feedback

Hey everyone,

I kept this project short and didn’t want to make it harder than it should be. I was wondering if I did it right and would appreciate any feedback you guys might have! Thanks in advance!

const randomObject = {
    animal: ['dog', 'cat', 'horse', 'tiger', 'elephant'],
    food: ['pizza', 'sushi' , 'fries', 'burgers', 'pasta'],
    hobby: ['gaming', 'drawing', 'sports', 'reading', 'music'],
}

const randomMessage = () => {
    const randomAnimal = randomObject.animal[Math.floor(Math.random() * (randomObject.animal.length - 1))];
    const randomFood = randomObject.food[Math.floor(Math.random() * (randomObject.food.length -1))];
    const randomHobby = randomObject.hobby[Math.floor(Math.random() * (randomObject.hobby.length -1))];
    return `Hello!, your favourite animal is ${randomAnimal}, your favourite food is ${randomFood} and your hobby is ${randomHobby}`
};

console.log(randomMessage())