Understanding object notation - JS newbie

A third installment of my non-understanding of JS, but hey ... here we go.

As mentioned before I'm taking codecademy's intro course, and today it's all about objects.
This one slide is about nested objects, and the text says:
"In application code, objects are often nested— an object might have another object as a property which in turn could have a property that’s an array of even more objects!"

And then this code is showned as an example:

const spaceship = {
     telescope: {
        yearBuilt: 2018,
        model: '91031-XLT',
        focalLength: 2032 
     },
    crew: {
        captain: { 
            name: 'Sandra', 
            degree: 'Computer Engineering', 
            encourageTeam() { console.log('We got this!') } 
         }
    },
}; 


I get confused, because I assume they mean that captain is an object within crew, but isn't it really a property within a property? Isn't the only object in this code spaceship?
Was this page helpful?