Home / Javascript Tips Generated By ChatGPT / Accessing Object Properties in Javascript Access properties of an object using dot notation or bracket notation. Source Code let person = {name: "John", age: 30}; console.log(person.name); // "John" console.log(person['age']); // 30