基本上,所有JS資料型別都擁有valueOf和toString這兩個方法,null除外。它們倆解決javascript值運算與顯示的問題。 1.用法如下: toString()方法: ...
確定! 回上一頁