我没有在String.prototype中看到replaceAll,但是MDN已经提到了这个函数。当我使用它时,它会抛出一个TypeError:xxx.replaceAll is not a function?replaceAll是未来的ECMA标准吗?
长风秋雁
相关分类