replaceall called with a non-global regexp argument code example
Example: javascript replaceall
//as of August 2020, not supported on older browsers
str.replaceAll("abc","def")
//as of August 2020, not supported on older browsers
str.replaceAll("abc","def")