Tell me, please! How to make a forced way out of the function, for example:
function some () {
var a = 3;
if (a == 1) {
a = 2;
} else {
// Here exit from the function, i.e. Any () launch will not be
}
Any ();
}
Answer 1, Authority 100%
Exit Function:
Return;