/*
Fluffy has two friends, Grumpy and Lazy Bones.
1. Assign the value of Grumpy's 2nd activity to the grumpyActivity variable below.
2. Assign fluffy2ndFriend the name of Fluffy's 2nd friend.
*/
//Code Here
var grumpyActivity = cat.catFriends[0].activities[1];
var fluffy2ndFriend = cat.catFriends[1];
I’m almost done with this one, but how would I for fluffly2ndFriend only access the name ‘Lazy Bones’ I’m failing due to it including his activities as well
You are currently in the second friend of the cat.
Now you have to use the property for the name, like you did in the first line for the activities. activities seems to be an array, a name isn’t, so you probably don’t have to use the brackets.