[Solution found!] 你可以这样做: a = a || 0 ...这会将a的“ falsey”值转换为0。 “假”值是: false null undefined 0 "" (空字符串) NaN…
確定! 回上一頁