I am trying to reference a symbol element that looks like this:
elementName = variableName + "Menu";
var menuChoice = sym.getSymbol('printMenu').$(elementName);
when I console.log ("menuChoice" + menuChoice) I get
object Object
How do I accomplish using a variable as a symbol name?