javascript "ors" - can they be combined into an array?
<p>wondering if I can make my javascript more efficient.
I have a var JSP = "the jsp's name"</p>

<p>And I have statements in a javascript validation file:</p>

<pre><code>if(( JSP == "test.html" ) || ( JSP == "test1.html") || ( JSP == "test2.html" )) then blah blah blah.
</code></pre>

<p>Is there a more efficient way to do this?</p>
