title: Object creation by variable name as property name and variable value as value
body: <p>Consider below code</p>
  
  <pre><code>var myVariable = true;
  var myObject = {myVariable};  // !! syntax of object creation !!
  console.log(myObject);
  console.log(myObject.myVariable);
  </code></pre>
  
  <p>Here is output </p>
  
  <pre><code>{ myVariable: true }
  true
  </code></pre>
  
  <p>I have never saw the above syntax of Object creation. But it is working somehow. I didn't found any documentation station object creation in that way. </p>
  
  <p><strong>When I uglify this code. It will not work as desired</strong></p>
  
  <p>Is it good to create object like this?<br>
  Does all browser support this syntax?<br>
  Is there any documentation stating stating object creation in this way?</p>