SyntaxFix
Write A Post
Hire A Developer
Questions
It depends on what you mean by stop. If it's in a function that can return void then:
if(a && b) { // do something }else{ // "stop" return; }