Hi. Any assessment would be appreciated. Thank you and have a good day!
1 Like
@harryghgim hi there!
So these are pretty good answers.
For assessment 1, you just need to add a call to cat.greeting()
to log the catβs greeting to the console.
assessment 2 is perfect β great work!
assessment 3 is interesting β this is not the way I was expecting you to do it, but the way youβve done it works. I was more expecting the function to be defined as a method on each object, but this way is more efficient.
2 Likes