我沒(méi)有在String.prototype中看到replaceAll,但是MDN已經(jīng)提到了這個(gè)函數(shù)。當(dāng)我使用它時(shí),它會(huì)拋出一個(gè)TypeError:xxx.replaceAll is not a function?replaceAll是未來(lái)的ECMA標(biāo)準(zhǔn)嗎?
我可以在javascript中使用replaceAll嗎?
哈士奇WWW
2022-11-03 15:10:14