Outline

Here is the exercise:

// find and findIndex
const dogs = [
  { name: 'Duke', breed: 'Labradoodle' },
  { name: 'Max', breed: 'Goldendoodle' },
  { name: 'Cincy', breed: 'Border Collie' },
  { name: 'Apollo', breed: 'Idaho Shag' }
]

// 1. Find the first dog that has a "C" in its breed
// HINT: use the string.includes method

// 2. Find the index of the first dog with an "A" in its name

// 3. Find the dog whose breed is Husky

You can fork the exercise on StackBlitz.

 

I finished! On to the next chapter