JavaScript Variable Operators
<p>Are these possible in Javascript?</p>

<p>I've got something like this:</p>

<pre><code>var op1 = "&lt;";
var op2 = "&gt;";

if (x op1 xval &amp;&amp; y op2 yval) {
 console.log('yay');
}
</code></pre>

<p>Basically I need the user to input the operator, its coming from a select box. </p>
