diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md index 4c0f27ec06..47442a25a1 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md @@ -19,13 +19,13 @@ const user = { }; ``` -Here's how to extract the values into variables with the same name as they have in the object: +Here's how to extract the values of object properties and assign them to variables with the same name: ```js const { johnDoe: { age, email }} = user; ``` -And here's how you can assign new variable names when destructuring a nested object: +And here's how you can assign an object properties' values to variables with different names: ```js const { johnDoe: { age: userAge, email: userEmail }} = user;