I'm currently trying to create a page which randomly generates a random set of questions and their corresponding answers. **However, I can't figure out how to match the questions to their corresponding answers.**

For the questions, I've come up with one set of arrays, and for the answers, I've come up with another:

```
//Array for Questions
var myWords = [
    'Test1',
    'Test2',
    'Test3',
    'Test4',
    'Test5',
    'Test6',
    'Test7',
    'Test8',
    'Test9',
    'Test10',
    'Test11',
    'Test12',
    'Test13',
    'Test14',
    'Test15'
]

//Array for Answers
var myAnswers = [
    'Answer1',
    'Answer2',
    'Answer3',
    'Answer4',
    'Answer5',
    'Answer6',
    'Answer7',
    'Answer8',
    'Answer9',
    'Answer10',
    'Answer11',
    'Answer12',
    'Answer13',
    'Answer14',
    'Answer15'
]

```

Based on this, I'm using the following script to pick 10 unique random questions from the first array:

```
    //randomly pick 10 words
    while(selectWords.length < 10){
        var randomWord = myWords[Math.floor(Math.random() * myWords.length)]
        if(selectWords.indexOf(randomWord) > -1) continue;
        selectWords[selectWords.length] = randomWord;
    }

```

How do I link each question with their appropriate answer in the second array? I'd like the output to show up in a table like this:

Question 1 | Answer 1

Thanks in advance!