Instructions: For each of the following code snippets, answer the following questions:
- Is it DRY?
- If it is not DRY, show how you can make it DRY by adding your version of the code.
- If it is DRY, explain why it is DRY.
Code Snippet 1
const pets = ['Cat', 'Dog', 'Bird', 'Fish', 'Frog', 'Hamster', 'Pig', 'Horse', 'Lion', 'Dragon'];
// Print all pets
console.log(pets[0]);