Use the logical nullish assignment operator to convert null or undefined to 0 , e.g. val ??= 0; . ... let val = undefined; val = val == null ?
確定! 回上一頁