Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-objects.english.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
This commit is contained in:
Tom 2019-06-26 15:23:32 -05:00 committed by Kristofer Koishigawa
parent 3b96f3e60d
commit 72cb38a839

View File

@ -21,7 +21,7 @@ const { name: userName, age: userAge } = user;
// userName = 'John Doe', userAge = 34
```
You may read it as "get the value of <code>user.name</code> and copy it into <code>userName</code>" and so on.
You may read it as "get the value of <code>user.name</code> and assign it to a new variable named <code>userName</code>" and so on.
</section>
## Instructions