title: ES6 Dynamically Reference Import
body: <p>Say I'm importing a few objects that all have the same method. How can I dynamically reference them, say by strings.</p>
  <p>For example,</p>
  <pre><code>import { Foo } from 'path/to/foo';
  import { Bar } from 'path/to/bar';
  import { Baz } from 'path/to/baz';
  
  const things = ['Foo', 'Bar', 'Baz'];
  
  things.forEach(thing =&gt; {
    thing.doSomething();
  });
  </code></pre>