title: What is the equivalent of else do nothing using the conditional operator?
body: <p>I want to know what is the equivalent of this if statement:</p>
  
  <pre><code>if (condition) {
          // do something
      }else{
          // do nothing
  
      }
  </code></pre>
  
  <p>Using the conditional operator:</p>
  
  <pre><code>(condition) ? // [do nothing] : {do nothing} "
  </code></pre>