if (condition) {} else {} ------------------------------------------------------------------ If needed to give another condition to the else, has to use ELSE IF: if(condition) {} else if(condition) {} ------------------------------------------------------------------------ if {} 1 if{} 2 else{} 2 else{} 1 --------------------------------------------------------------------------------------- IF , ESLE IF, ELSE: ---------------------------------------------------------------- Switch: ---------------------------------------------------------------------------------------------------- Function Expression: Function Self Invoke: Accessing Objects
Comments
Post a Comment