var player = {score: 1, name: 'Jeff'};
player.score = 2;
// Now player is {score: 2, name: 'Jeff"}
The above example shows the data change with mutation
as we know that detecting changes in mutable objects is
difficult because they are modified directly, this
detection requires the mutable object to be compared to
previous copies of itself and the entire object tree to be
Answers
Answered by
0
Answer:
hi
Explanation:
hahahah jeehuhsgsobdgdkvd
Similar questions