Accessing Object Properties III

let person = {
  name: 'Tyron',
  age: 40
  weekendAlarm: 'No alarms needed',
  weekAlarm: 'Alarm set to 7AM',
};

console.log(person['name']);
console.log(person['age']);

Can someone help me understand what wrong?

what is the error message you get? What is the exercise you are at? Please share exercise url, the forum categories do not always match the categories of the lessons

https://www.codecademy.com/courses/learn-javascript-objects/lessons/objects/exercises/object-property-access-iii?action=resume_content_item&course_redirect=introduction-to-javascript

property value pairs are separated by comma’s, you missed a comma somewhere

always check the line above the error message line as well

Thank you so much:))

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.