title: When using ES6 import statement, is there a way to protect against items being undefined?
body: <pre><code>import {
    foobar1,
    foobar2,
    foobor3,  //typo!  this key doesn't exist in the module.
  
  } from './module_file.js'
  
  
  console.log(foobar1, foobar2, foobar3)  //EXPLODES
  </code></pre>
  
  <p>One of the most frequent silly mistakes I make when using the new ES6 style import statement is that I'll have a typo in one of the keys in object destructuring.  I can't think of a single instance where I'd ever want a value in a destructuring assignment to be <code>undefined</code>.  Is there any way to force the import statement to fail-fast if one of the items I'm trying to import is undefined?  </p>
  
  <p>ie:</p>
  
  <pre><code> import {
    doesntExistInModule  //EXPLODE NOW!  
  } from './module_file.js'
  </code></pre>