Javascript shorthand if-else and returning
<p>Can the javascript shorthand for if-else return out of a function? If so how would this work. </p>

<p>eg. 
I have this:</p>

<pre><code>if(boolean){
 return;
}
</code></pre>

<p>and I would like to write it as this:</p>

<pre><code>(value)? return;
</code></pre>

<p>Chrome complains that return is unexpected. Is there anyway to write something like this so that it is valid?</p>
