title: about the prosses of ( if and esle if function )
body: <p>For example I have this code</p>
  
  <pre><code>if ( false ) 
  {
      // 1000 lines of code
  } else if {
      // 1000 lines of code
  } else {
      code(true)
  }
  </code></pre>
  
  <p>I wanted to know that when this code is run, if the values for both <code>if</code> and <code>else if</code> were false, the machine immediately runs <code>else</code> logic, or the both of the code (1000 line code) underneath <code>if</code> and <code>else if</code> would be read first and take time ?</p>