29.精讲JavaScript字符串,常见的基础方法以及特殊字符、emoji内部表示方式
文章目录JavaScript字符串详解前言写法特殊字符.length访问字符、charAt()、for..of字符串不可变.toLowerCase()、.toUpperCase().indexOf()、.lastIndexOf() 查找子串按位取反技巧(不推荐,但要会).includes()、.startsWith()、.endsWith().substr()、.substring()、.slice().codePointAt()、String.fromCodePoint().localeCompare(.