Not sure about the title.

I have got a list of variables, base name with a number:

```
var answerOption1 = "Agra";
var answerOption2 = "Chicago";
var answerOption3 = "Halong Bay";

```

With that I want to dynamically populate a select list randomly, 12 variables in total with an array of numbers.

```
$('<option>').val(theAnswer).addClass('fieldbox').text(answerOption + arr[i]).appendTo("#answers");

```

As it is its not working, its running into an error because answerOption is undefined, but I need it to include the number from the array before calling the value from the variable