From 00b5ce97e3a0a34ded2c0b50ce737b5fd0fec99d Mon Sep 17 00:00:00 2001 From: moT01 Date: Wed, 26 Jun 2019 22:00:32 -0500 Subject: [PATCH] fix/verbiage --- ...ignment-to-assign-variables-from-nested-objects.english.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 4c0f27ec06b..47442a25a15 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;