Shortest way to write this in javascript?
<p>I'd like to implement this:  </p>

<pre><code>//foo is a boolean
if(foo){
    count++;
} else {
    count--;
}
</code></pre>

<p>How could I write this with a one liner?</p>
