其實是簡寫的 if判別式。條件式?結果1 :結果2 //符合條件就 ... 日安"); //第二種寫法,if...else...判別式。 var now = new Date(); var greeting = "Good"; if (now.
確定! 回上一頁