ifNN 2 IE 3 ECMA 1  

  

This is a simple conditional statement that provides one alternate execution path.

 
Example
 
if (myDateObj.getMonth( ) == 1) {
    calcMonthLength( );
}