字符串方法扩展:
charAt()
charCodeAt()
fromCharCode()
slice
substr
substring
search
match
replace
split
indexOf
lastIndexOf
includes
toUpperCase,toLowerCase
trim
trimLeft
trimRight
trimStart
trimEnd
concat
repeat,startsWith,EndsWith,
small
anchor
bold
strike
big
padStart 在字符串的开始位置填充
padEnd 在字符串的结束位置填充
repeat:重复
startsWith: 判断字符串是否以某个字符串开头
是的话,返回true,否则返回false
endsWith: 判断字符串是否以某个字符串结尾
是的话,返回true,否则返回false