第一個參數結果為false時,程式將crash。 只在debug模式生效,production不會。
var age = 15 assert(age > 18, "18歲以上才能談戀愛")
precondition 類似assert,但是不管在debug還是production都生效。