Challenge: Return the Cat

This is an advanced level challenge to test your skills in implementing array and object destructuring in JavaScript.

Problem statement #

You’re given a function returnNthCat, which takes a variable n and has an object state defined in it.

Carefully study the structuring of this object. ...

function