How to use a variable's contents to declare another variable in javascript?
<p>I have a problem that I hope to use one variable's contents as another variables name in javascript. In this case, I do not know what is the contents in that variable, I only know it is a text type and I hope the variable I need to declare will use that text as its name.</p>

<p>Anyone could kindly give me some suggestion of how to do that?</p>

<p>Thank you!</p>
