兩個String 相減的結果變成number 的型別。 let result = '42' - '2'; result; // 40 typeof(result); // number. 也因此,JavaScript 有許多內建的轉型別方法,方便 ...
確定! 回上一頁