学习: 1. 菜鸟网站: https://www.runoob.com/jsref/jsref-obj-string.html 2. W3C: https://www.w3school.com.cn/jsref/index.asp