title: How to create an object with user defined name in javaScript?
body: <pre><code> var a= "user passed name/ value from run time" // assume it is: xValue
   var xValue="some value" //x must be value of a
   //ie "user passed name/ value from run time" = some value
  </code></pre>
  
  <p>How can this be achieved where x in the value of a?</p>