Bracket notation can also add or update a property when its name comes from a variable.
const player = { name: "Leo" };
const propertyName = "score";
player[propertyName] = 10;Use the supplied property name and value to add role: admin to account. Then display Role: admin.