Correct spelling mistake in JS comment
independant -> independent
This commit is contained in:
parent
dc904d122e
commit
82502dbe27
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
|
||||
|
||||
alert( user.name ); // still John in the original object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue