Uncaught TypeError: xx.split is not a function

2022-10-12,,,,

javascript 报错 string.split is not a function

split() 方法用于把一个 字符串 分割成字符串数组。

也就是说数据的类型是字符串,如果是其它类型就会报这个错误。

《Uncaught TypeError: xx.split is not a function.doc》

下载本文的Word格式文档,以方便收藏与打印。