Advertisement
sissou123

Untitled

Mar 16th, 2022
649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JavaScript Algorithms and Data Structures
  2. ES6
  3. Use Destructuring Assignment to Assign Variables from Nested Objects
  4. You can use the same principles from the previous two lessons to destructure values from nested objects.
  5.  
  6. Using an object similar to previous examples:
  7.  
  8. const user = {
  9.   johnDoe: {
  10.     age: 34,
  11.     email: 'johnDoe@freeCodeCamp.com'
  12.   }
  13. };
  14. for more:https://www.file-upload.com/gebbq9fwxs74
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement