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?
https://www.freecodecamp.org/learn/full-stack-developer/lecture-working-with-objects/what-is-an-object-in-javascript-and-how-can-you-access-properties-from-an-object