JavaScript的toString()、reduce()、replace()方法
摘要:
1.toString(),是将某种类型转换成字符串类型方法,但基本类型null和undefined没有toStirng()方法,如果null和undefined使用该方法, 会报错:Uncaught TypeError: Cannot read property 'toString' of null 阅读全文
posted @ 2021-03-05 19:56 z锋 阅读(347) 评论(0) 推荐(0)
浙公网安备 33010602011771号