var person = { name: "John", age: 31, favColor: "green", height: 183 }; var x = person.age; var y = person['age'];