title: Javascript variable statement as key value pair
body: <p>I´m programing in javascript using Relay and I´ve found the following statement:</p>
  
  <pre><code>const { connectionType: UsersConnectionType } = connectionDefinitions( { nodeType: UserType });
  </code></pre>
  
  <p>What does exactly the <code>{ connectionType: CustomerConnectionType }</code> means ? How to reference that variable later and how to export it if I have two more of those varibles, like: </p>
  
  <pre><code>const { connectionType: CustomerConnectionType } = connectionDefinitions( { nodeType: CustomerType });
  const { connectionType: ItemConnectionType } = connectionDefinitions( { nodeType: ItemType });
  </code></pre>