title: Javascript shorthand which calls functions
body: <p>I want a shorthand that runs a function if true and runs a separate function if false. Something like:</p>
  
  <pre><code>(condition)? function1:function2;
  </code></pre>