例如:從字串轉換為數字 +'99'; // 99. JavaScript coercion 的結果永遠都會是純量的基本型別值,像是string、 number、boolean,不會有任何強制轉型 ...
確定! 回上一頁