我有这个字符串:
"Test abc test test abc test test test abc test test abc"
干
str = str.replace('abc', '');
似乎只删除abc上面字符串中的第一次出现.如何更换所有出现的内容?
abc
javascript string replace
javascript ×1
replace ×1
string ×1