title: How can I do object destructuring with condition?
body: <p>So I have:</p>
  
  <pre><code>// some function that returns two arrays ..
  getArrays() {
    return {
      arr1: [...],
      arr2: [...]
    };
  }
  
  // and then ..
  let arr1 = [];
  let arr2 = [];
  if (someCondition) {
    { arr1, arr2 } = getArrays();
  }
  
  // here we expect arrays, even if they are empty ..
  </code></pre>
  
  <p>Of course, this throws an error.
  Is this even possible?</p>
  
  <p>PS: I can use default values and directly call the function, but still - I think it should be possible.</p>