Use the if statement to specify a block of JavaScript code to be executed if a condition is true. Syntax. if (condition1) { do this; } else if (condition2) { ...
確定! 回上一頁