I have such array component which prints out Good.
eval(). Since global variables are descendants of the
window object, you can access them like this:
var ccc='componentA'; console.log(window['nameA_' + ccc]['abc'].aaa);
But it's probably better practice to use objects / arrays instead of using this method.