const animals = ['Dodo', 'Tiger', 'Penguin', 'Dodo']; console.log(animals.lastIndexOf('Dodo')); // Expected output: 3 console.log(animals.lastIndexOf('Tiger')); // Expected output: 1