Working with Objects - What Is an Object in JavaScript, and How Can You Access Properties from an Object?

Tell us what’s happening:

I think I have spotted an error in the transcript for the lesson on objects in the Full Stack curriculum.
It says:
“In this example, we’ve created an object called person with three properties: name, age, and city. Each property has a name and a value, separated by a colon.”

Should it be separated by a comma?

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Challenge Information:

Working with Objects - What Is an Object in JavaScript, and How Can You Access Properties from an Object?

the name and the value of a property are separated by a colon, it doesn’t look like an error to me

Ah I see - I was thinking of each property (ie each key/value pair) being separated by a comma. No it’s not an error.