A Guide to Object Destructuring in JavaScript Adriana DiPietro on August 06, 2021 Object Destructuring Object destructuring is an approach to access an object's properties. We use object destructuring because it dries ... Read full post Submit Preview Dismiss Collapse Expand JivkoJelev91 JivkoJelev91 JivkoJelev91 Follow Joined Jan 4, 2020 • Aug 7 '21 Dropdown menu Copy link Hide For nested objects i still prefer the first way: const { location } = person.previousJob; Enter fullscreen mode Exit fullscreen mode Collapse Expand Ali Hassan Ali Hassan Ali Hassan Follow Joined Oct 22, 2020 • Aug 6 '21 Dropdown menu Copy link Hide Great Collapse Expand Adriana DiPietro Adriana DiPietro Adriana DiPietro Follow Software Engineer | Tech Writer Location New York Education Flatiron Pronouns she/her Joined Sep 18, 2020 • Aug 6 '21 Dropdown menu Copy link Hide Thanks for the comment! Collapse Expand Imia Hazel Imia Hazel Imia Hazel Follow Love to Share, Love to Care Location UAE Joined Aug 4, 2021 • Aug 6 '21 Dropdown menu Copy link Hide Thanks for the guide. Collapse Expand Adriana DiPietro Adriana DiPietro Adriana DiPietro Follow Software Engineer | Tech Writer Location New York Education Flatiron Pronouns she/her Joined Sep 18, 2020 • Aug 6 '21 Dropdown menu Copy link Hide Thank you for reading along! Collapse Expand Femi Obadimu Femi Obadimu Femi Obadimu Follow Software Engineer and Technical Writer. Email ficazzosam@gmail.com Location Lagos, Nigeria Education Engineering. Work Backend Engineer @Firansefood Joined Jul 8, 2021 • Aug 7 '21 Dropdown menu Copy link Hide Nice Article You really spliced it.... Anyone could read and understand this... Collapse Expand Adriana DiPietro Adriana DiPietro Adriana DiPietro Follow Software Engineer | Tech Writer Location New York Education Flatiron Pronouns she/her Joined Sep 18, 2020 • Aug 8 '21 Dropdown menu Copy link Hide Thanks Femi! Collapse Expand alvinpeter9 alvinpeter9 alvinpeter9 Follow Joined Jul 5, 2020 • Aug 7 '21 Dropdown menu Copy link Hide Nice read. I was thinking about this a while ago and voilà!, your post came up and I now understand it better. Collapse Expand Adriana DiPietro Adriana DiPietro Adriana DiPietro Follow Software Engineer | Tech Writer Location New York Education Flatiron Pronouns she/her Joined Sep 18, 2020 • Aug 8 '21 Dropdown menu Copy link Hide I am glad I could help. Thanks for the reply :) Collapse Expand Keyur Paralkar Keyur Paralkar Keyur Paralkar Follow Front-end developer👨💻; Book enthusiasts📖; Actively looking for frontend developer job opportunities. Email keur.plkar@gmail.com Location India Joined Sep 16, 2020 • Aug 8 '21 Dropdown menu Copy link Hide The nested object destructing was preety neat. Thanks Collapse Expand Adriana DiPietro Adriana DiPietro Adriana DiPietro Follow Software Engineer | Tech Writer Location New York Education Flatiron Pronouns she/her Joined Sep 18, 2020 • Aug 8 '21 Dropdown menu Copy link Hide Thanks for the reply! Collapse Expand Luciano Luciano Luciano Follow Joined Aug 3, 2021 • Aug 8 '21 Dropdown menu Copy link Hide I like the last. Ty. Collapse Expand Adriana DiPietro Adriana DiPietro Adriana DiPietro Follow Software Engineer | Tech Writer Location New York Education Flatiron Pronouns she/her Joined Sep 18, 2020 • Aug 8 '21 Dropdown menu Copy link Hide Thank you for the feedback! Code of Conduct • Report abuse
For nested objects i still prefer the first way:
Great
Thanks for the comment!
Thanks for the guide.
Thank you for reading along!
Nice Article
You really spliced it....
Anyone could read and understand this...
Thanks Femi!
Nice read. I was thinking about this a while ago and voilà!, your post came up and I now understand it better.
I am glad I could help. Thanks for the reply :)
The nested object destructing was preety neat. Thanks
Thanks for the reply!
I like the last. Ty.
Thank you for the feedback!