title: shorthand for arrow-functions for object property names
body: <p>when I have:</p>
  
  <pre><code>const foo = 1;
  </code></pre>
  
  <p>I can set a shorthand for object property names</p>
  
  <pre><code>const bar = {foo}
  </code></pre>
  
  <p>thats the same like</p>
  
  <pre><code>const bar = {foo: foo} // bar will be {foo: 1}
  </code></pre>
  
  <p>is there a shorthand when I have a const with an arrow function?</p>
  
  <pre><code>const foo = () =&gt; 1
  </code></pre>
  
  <p>i have to set it like this, but its uncool</p>
  
  <pre><code>const bar = {foo: foo()}
  </code></pre>
  
  <p>I would like to do it like this or something thats shorter</p>
  
  <pre><code>const bar = {foo()}  //bar should be {foo: 1} but this will fail
  </code></pre>