I want to run the following function: doStuff(objName.variable, variable);
The object objName
has a property that the variable variable
is equal too.
How would I make this work where instead of trying to find the property variable
of objName
, the code tries to find the property of objName
that is stored in variable
.
Thanks.