Assigning a new value with dot notation updates that property while leaving the object's other properties unchanged.
const player = { name: "Mira", score: 4 };
player.score = 7;Predict inventory.stock after adding 3. Replace the empty prediction, perform the update with dot notation, and display the actual result.