Hello there, I am trying to create a new global variable in a function with a custom name.

I need something like this:

function newVariable(name){
createVariableWithName(name);
}