了解 JavaScript 字符串的 valueOf() 方法 返回当前 String 对象的字符串表示: const str = new String('Test') str.valueOf() //'Test' 同 toString()。