comparing two javascript arrays?
<p>I want to compare two arrays with each other and see if there is a match, and if there is do something.</p>

<pre><code>var answers = new Array("a","b","c","d", "e");
var correct = new Array("a","d");
// do a for loop
// if there's a match console.log(letter + "is the correct answer")
</code></pre>
