Let's assume that you have the following array:
javascriptvar siblings = ['Erik', 'Andrea', 'Paula'];
You can fully destructure the array:
javascriptvar [old, younger, youngest] = siblings; console.log(old); // Erik console.log(younger); // Andrea console.log(youngest); // Paula
Or partially destructure the array (empty positions) by not writing a variable:
javascriptvar [old, , youngest] = siblings; console.log(old); // Erik console.log(youngest); // Paula
Hi, I'm Erik, an engineer from Barcelona. If you like the post or have any comments, say hi.