title: Destructure an object parameter two levels?
body: <p>So, I'm passing an object to an ES6 function that I'd like to <strong>destructure</strong> down to the parameter of a parameter. For example, the code below will log the <code>data</code> prop of <code>stuff</code>, but I'd like it to log the <code>things</code> prop of <code>data</code> of <code>stuff</code>. So the correct answer would log <code>[1,2,3,4]</code>. Not confusing at all, I know. Anyone know if this is possible?</p>
  
  <pre><code>const stuff = {
     data: {
        things: [1,2,3,4]
     }
  };
  const getThings = ({ data }) =&gt; {
     console.log(data)    
  };
  getThings(stuff);
  </code></pre>