Update URL.

This commit is contained in:
Osvaldo Dias dos Santos 2021-09-14 11:52:12 +01:00
parent 4d01fc20d4
commit 10590969eb

View file

@ -133,7 +133,7 @@ clone.name = "Pete"; // changed the data in it
alert( user.name ); // still John in the original object
```
Also we can use the method [Object.assign](mdn:js/Object/assign) for that.
Also we can use the method [Object.assign](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) for that.
The syntax is: