Abstract
Object literals and arrays are probably some of the most widely used notations in JavaScript. The popularity of these JavaScript notations is further extended to even outside the language with their presence in the JSON data format. Objects and arrays are commonly used to group data in JavaScript and there exists various patterns to systematically fetch data from these defined structures when we need them. ES6 further extends this process by making it easier and simpler through a process called destructuring.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Deepak Grover and Hanu Kunduru
About this chapter
Cite this chapter
Grover, D., Kunduru, H.P. (2017). Destructuring. In: ES6 for Humans. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2623-0_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2623-0_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2622-3
Online ISBN: 978-1-4842-2623-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books