I am trying to assign a variable name using a variable but it is not working:
name_of_variable = abc;
eval(name_of_variable) = 'simpleword';
console.log(abc);
How can I get this to work?
I am trying to assign a variable name using a variable but it is not working:
name_of_variable = abc;
eval(name_of_variable) = 'simpleword';
console.log(abc);
How can I get this to work?