13.
How can you modify the value of an existing property in an object?
Using dot notation
Using bracket notation
Using the Object.assign() method
Using the Object.entries() method
Correct: A, B
To modify the value of an existing property in an object, you can use either dot notation or bracket notation. Dot notation is used when you know the property name beforehand and it is a valid identifier. Bracket notation is used when the property name is dynamic or contains special characters. The Object.assign() method is used to copy the values of all enumerable properties from one or more source objects to a target object. The Object.entries() method returns an array of a given object's own enumerable string-keyed property [key, value] pairs.