Help with advanced assessment for advance object area

#advanced-object #get-help:javascript #object-oriented
https://www.codecademy.com/practice/tracks/introduction-to-javascript/modules/learn-javascript-objects

I had tried to take more practise exams, and then I got stuck here.
Below is the topic and where I stuck:

Can someone help me to solve it? Thanks~

The loopThroughAninmals function appears to be missing.