码云 ES6教程 20. ES6+ trim() 方法 1. 前言 本节介绍 ES6 的字符串新增方法 trim(),该方法会从一个字符串的... ES6 ES6教程 trim() trimEnd() trimStart()