ES6—53:字符串方法拓展 Always_positive 2021-04-08 78 阅读1分钟 trimStart与trimEnd方法 trimStart()方法用于清除字符串左侧空白,trimEnd()方法用于清除字符串右侧空白。