https://github.com/semgrep/semgrep-rules/blob/develop/javascript/lang/correctness/no-replaceall.yaml
The string method replaceAll is not supported in all versions of javascript, and is not supported by older browser versions.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll
This feature is well established and works across many devices and browser versions. It’s been available across browsers since August 2020.
https://github.com/semgrep/semgrep-rules/blob/develop/javascript/lang/correctness/no-replaceall.yaml
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll