Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-objects.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
committed by
Kristofer Koishigawa
parent
d0e5405e5c
commit
e58c512052
@ -6,7 +6,7 @@ challengeType: 1
|
||||
|
||||
## Description
|
||||
<section id='description'>
|
||||
Destructuring allows you to assign a new variable name when extracting values by putting the new name after a colon when assigning the value.
|
||||
Destructuring allows you to assign a new variable name when extracting values. You can do this by putting the new name after a colon when assigning the value.
|
||||
|
||||
Using the same object from the last example:
|
||||
|
||||
|
Reference in New Issue
Block a user