Notasi braket JavaScript


const person = {
  firstname: 'John',
  lastname: 'Doe'
};

console.log(person['lastname']);
// expected output: "Doe"
Different Dugong