function a(){
//logic here
//else return false
}
function b(){
//logic here
//else return false
}
function c(){
//logic here
//else return false
}
a() ? b() ? c();
I want to run a first, if false go to b if false go to c but I got unexpected ';' error.
One more doubt : if a()
return false will it go to b()
? or I need to set like if(a() != true)
?