基本上,所有JS数据类型都拥有valueOf和toString这两个方法,null除外。它们俩解决javascript值运算与显示的问题。1.用法如下:toString()方法:返回 ...
確定! 回上一頁