var flag = false; // pause flag IF (In Flag) { Alert ( "AA") } the else { Alert ( "BB") } BB
if (flag) = if (flag == true)