title: Concatenate a dynamic variable name in Javascript
body: <p>In PHP you can concatenate a variable name like this</p>
  
  <pre><code>$a = 1
  
  ${'fruit_' . $a} = 'apple';
  </code></pre>
  
  <p>The result will lead to the creation of variable <code>$fruit_a</code></p>
  
  <p>How would I do this in javascript?</p>