jquery - how to exit (break function) from each statement?
<p>for example I use following code:</p>

<pre><code>$("img").each(function(i){
     x += $("img:eq(" + i ")").width();
     if(some conditional) return;
});
</code></pre>

<p>after return I would like to not adding anything to x, how could I achieve it?</p>
