字符串tostring Returns the string representation of the current String object: 返回当前String对象的字符串表示形式: const str = new String('Test') str.toString() //'Test' It’s same as valueOf(). 与valueOf()相同。 翻译自: https://flaviocopes.com/javascript-string-tostring/ 字符串tostring