Correct spelling mistake in JS comment

independant -> independent
This commit is contained in:
sneaky-moose 2018-10-30 12:24:38 +11:00 committed by GitHub
parent dc904d122e
commit 82502dbe27
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 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