Hi. Any assessment would be appreciated. Thank you and have a good day!
@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.