Merge pull request #585 from sneaky-moose/patch-1
Correct spelling mistake in JS comment
This commit is contained in:
commit
6d9cf37422
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ for (let key in user) {
|
||||||
}
|
}
|
||||||
*/!*
|
*/!*
|
||||||
|
|
||||||
// now clone is a fully independant clone
|
// now clone is a fully independent clone
|
||||||
clone.name = "Pete"; // changed the data in it
|
clone.name = "Pete"; // changed the data in it
|
||||||
|
|
||||||
alert( user.name ); // still John in the original object
|
alert( user.name ); // still John in the original object
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue