Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Kristofer Koishigawa
						Kristofer Koishigawa
					
				
			
			
				
	
			
			
			
						parent
						
							9f4799bba1
						
					
				
				
					commit
					d2c5cc7ff3
				
			| @@ -25,7 +25,7 @@ Here's how to extract the values into variables with the same name as they have | ||||
| const { johnDoe: { age, email }} = user; | ||||
| ``` | ||||
|  | ||||
| And here's how you can assign new variable names when destructuring a nested object like this: | ||||
| And here's how you can assign new variable names when destructuring a nested object: | ||||
|  | ||||
| ```js | ||||
| const { johnDoe: { age: userAge, email: userEmail }} = user; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user