title: Ternary Operators as short conditional statements
body: <p>Is there anything wrong with using ternary operators in place of longer conditional statements in Javascript, for instance using:</p>
  
  <pre><code>(variable == "dog") ? dog_stuff() : false;
  </code></pre>
  
  <p>Rather than </p>
  
  <pre><code>if ( variable == "dog" ) 
  {
      dog_stuff();
  }
  </code></pre>
  
  <p>This may sound like a stupid question but I just find it's pretty quick and easy to read, I just don't want to be using it if there's a possible drawback?</p>