title: How to provide default values for an empty string in a destructured object
body: <p>While performing object destructuring it is possible to provide default values if the key does not exist (i.e. undefinedKey).</p>
  
  <p>If the (string) key does exist, it does not get overwritten (even if empty).</p>
  
  <p>I'm wondering if it's possible to specify an override for an empty string while destructuring. In the example below, I would like <code>emptyKey</code> to print <code>Override for empty key</code></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const testObject = {
    emptyKey: '',
    filledKey: 'Some Initial Value',
  };
  
  const {
    emptyKey = 'Override for empty key',
    filledKey = 'Override for filled key',
    undefinedKey = 'Override for undefined key',
  } = testObject;
  
  console.log(emptyKey); //''
  console.log(filledKey); //'Some Initial Value'
  console.log(undefinedKey); //'Override for undefined key'</code></pre>
  </div>
  </div>
  </p>