Other wording 08-2-if's

<! DOCTYPE HTML > 
< HTML lang = "EN" > 
< head > 
    < Meta charset = "UTF-8" > 
    < title > the Title </ title > 
</ head > 
< body > 
< Script > 
    // really only one sentence when the code (not recommended) 
    // IF (. 4 <. 5) { 
    //      Alert (. 1) 
    // }; 

    // IF (. 4 <. 5) Alert (. 1); 

    // IF (. 4 <. 5) 
    //      alert (1);
    // else
    //     alert(2);
</script>
</body>
</html>

 

Guess you like

Origin www.cnblogs.com/zhangyu666/p/11479585.html