<sectionid="description"> De manera similar podemos destruir objetos <em>anidados</em> en variables. Considere el siguiente código: <blockquote> const a = { <br> inicio: {x: 5, y: 6}, <br> final: {x: 6, y: -9} <br> }; <br> const {inicio: {x: inicioX, y: inicioY}} = a; <br> console.log (startX, startY); // 5, 6 </blockquote> En el ejemplo anterior, a la variable <code>start</code> se le asigna el valor de <code>a.start</code> , que también es un objeto. </section>
<sectionid="instructions"> Utilice la asignación de desestructuración para obtener el <code>max</code> de <code>forecast.tomorrow</code> y asignarlo a <code>maxOfTomorrow</code> . </section>