Ranges in jQuery?
<p>I am writing event handlers in jQuery. I want to use a specific set of keys (eg arrow keys) for a particular action. Is there a shorthand notation for this?</p>

<p>I have this.</p>

<pre><code>if(event.keycode == 37 || event.keyCode == 38 || event.keyCode == 39)
</code></pre>

<p>I'm wondering if there are ranges in JavaScript, like (37..40)?</p>

<p>Thanks in advance!</p>
