<script> var str = false.toString(); console.log(str, typeof str); </script>. 返回的結果為false,string. 看看null 和undefined能不能轉換為字元串javascript.
確定! 回上一頁