title: JavaScript/Typescript return/break from a void method
body: <p>I have a complicated  method with if else if else constructs in typescript.
  Its a void method. 
  How do i break from the method on some particular if condition so that other conditions need not to be executed. This helps me in avoiding the else condition ;I can keep on writing if </p>
  
  <p>In Java this can be achieved using <code>return;</code> inside the void method.</p>