title: Destructure object properties into array values
body: <p>Is there any way to destructure an object and assign its properties into an array rather than as variables? For example:</p>
  
  <pre><code>const obj = { a: 1, b: 2 };
  
  const { a, b } = obj;
  const arr = [a, b];
  </code></pre>
  
  <p>This works, but it requires restating the variables as the array values.</p>
  
  <p>I have tried:</p>
  
  <pre><code>const arr = [(const { a, b } = obj)];
  </code></pre>
  
  <p>but this is a syntax error.</p>
  
  <p>I had a similar idea with <code>Object.values</code> as in</p>
  
  <pre><code>const arr = Object.values((const { red } = chalk));`
  </code></pre>
  
  <p>...but this has the same issue of not being able to do destructuring in expressions.</p>