Search⌘ K
AI Features

Challenge: Return the Cat

Explore how to return the name of the nth cat in an object array by applying array and object destructuring in JavaScript. This challenge helps you understand working with nested objects and arrays, strengthening your grasp of language basics for interview preparation.

Problem statement

You’re given a function returnNthCat, which ...