Trying to take a variable's value and make it the name of another variable. JavaScript
I'm trying to take a function's input (objectName) and make that value create a variable. So if objectName = "abcd" I would want the variable to be created be abcd. Is there a way I can do this in JavaScript?