Merge pull request #585 from sneaky-moose/patch-1

Correct spelling mistake in JS comment
This commit is contained in:
Ilya Kantor 2018-11-03 19:25:52 +03:00 committed by GitHub
commit 6d9cf37422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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