const animals = { 'cat': 'meow', 'dog': 'woof', 'cow': 'moo', 'sheep': 'baaah', 'bird': 'tweet' }; const keys = Object.keys(animals) const prop = keys[Math.floor(Math.random() * keys.length)] console.log(prop);