var intVal: Int? //intVal = 100 if let val = intVal{ print(val) } //錯誤用法,guard 判斷一定要在function 裡面 //guard let val = intVal else { return } ...
確定! 回上一頁