Javascript multiple values in variable
<p>Is there any way to have one variable with multiple values like this:</p>

<pre><code>var variable = 1, 2, 3;
var enteredVal = 1;

if (enteredVal == variable){
    alert('You chose the right number');
}
</code></pre>

<p>So if the variable enteredVal is equal to 1, 2 or 3, it will alert the message.
I can't seem to get my head around it.</p>
