你可以透過typeof 檢視資料型別,例如typeof(100) 將回傳number ,以下的程式碼分別測試數種不同型別的資料:. <script>. var n0 = typeof (101);.
確定! 回上一頁