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.
Anyone could kindly give me some suggestion of how to do that?
Thank you!