1、字符串遍历 字符串可以被for...of循环遍历。 2、 includes(), startsWith(),endsWith() includes() :返回布尔值,表示是否找到了参数字符串 startsWith() : 返回布尔值,表示参数字符串是否在原字符串头部 endsWith():返回布尔值, 表示参数字符串是否在原字符串的尾部 3、repeat() 表示将原字符串重复N次