I want to be able to create a variable with a variable as a name, not value. That probably sounds confusing, so here's some code that would be an example for what I want to do-
function customVar(variable) {
var variable = 1
}
Obviously, that makes a variable called "variable", which is not what I want, but you get the idea.