How to 'pop' or 'shift' from jQuery set
<p>In Javascript, arrays should have methods <em>pop</em> and <em>shift</em>.</p>

<p>However, JQuery objects seem to be missing these methods:</p>

<pre><code>$('div').shift(); // Error, shift is undefined
$('div').pop(); // Error, pop is undefined
$('div').splice(); // Splice is OK actually
</code></pre>

<p>I wonder why these functions are missing - after all, the jquery object is just an array.</p>

<p>What's the easiest way of performing pop and shift functions on jquery objects?</p>
