Can this be done in Javascript with variables?
<p><code>var anything1 = 'abc1';</code>
<code>var anything2 = 'xyz';</code>
<code>var abc = 2;</code></p>

<p><code>alert({'anything'+abc});</code></p>

<p>I'm trying to disply xyz ?</p>
