Browse Source

Update README.md

pull/878/head
Christopher Fremond 3 years ago committed by GitHub
parent
commit
264fb82321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      subjects/mutability/README.md

8
subjects/mutability/README.md

@ -2,13 +2,11 @@
### Instructions ### Instructions
Create a copy of the person object called clone1. Create three copies of the person object called `clone1`, `clone2` and `samePerson`.
Create an other copy of the person object called clone2.
Create a new variable `samePerson` with the same value as `person`. Increase by one the property age of `person` and set his country to `'FR'`.
Increase by one the property age of `person` A way must be found to have `clone1` and `clone2` keep the original values while `samePerson` changes with `person`.
and set his country to `'FR'`.
### Notions ### Notions

Loading…
Cancel
Save