Is it possible to use a variable value as part of another variables name?
<pre><code>var b = '1';
</code></pre>

<p>How can I create a variable name using the contents of variable b? I am doing this in a each loop, so b will change.</p>

<p>I am wanting the final product to be something like:</p>

<pre><code>var trip1 = '';
</code></pre>

<p>How would I accomplish something like that?</p>

<pre><code>var trip + b = '';
var trip.b = '';
</code></pre>
