title: How to put variable value inside another variable name in Javascript
body: <p>I have a javascript variable</p>
  
  <pre><code>var varNameValue = "Name";
  </code></pre>
  
  <p>Now i want to create another variable using the value of <code>varNameValue</code> inside the name of the Other</p>
  
  <pre><code>var x(varNameValue)y = "abc";
  </code></pre>
  
  <p>So that my new variable name becomes </p>
  
  <pre><code>var xNamey = "abc";
  </code></pre>
  
  <p>Is there any way to do it. Please help.</p>