I am trying to create a javascript object,
var systemName = {"system" : varA};
But I want the object to be in the form `{"system" :"varA"}
with varA having the variable value but inserted inside double quotes.
I have tried {"system" : "'+ varA +'"};
but that did not do the trick. Can you point out what I am doing wrong here? I know its a simple things. But sometimes these small things get us stuck at certain points