答:ES2015 提供模板字符串、includes、startsWith、endsWith、repeat、codePointAt 和 String.fromCodePoint 等。模板字符串方便按表达式拼出文字,其他方法覆盖查找、重复与 Unicode 码点处理。
题干与完整题解免费阅读第 1 / 1 页
本页 1 道,共 1 道浏览其他领域
答:ES2015 提供模板字符串、includes、startsWith、endsWith、repeat、codePointAt 和 String.fromCodePoint 等。模板字符串方便按表达式拼出文字,其他方法覆盖查找、重复与 Unicode 码点处理。