← Back to release summary
JavaScript now has first-class support for global substring replacement through the new `String.prototype.replaceAll()` method.
Docs: n/a
Explainers: https://v8.dev/features/string-replaceall https://github.com/tc39/proposal-string-replaceall
View on chromestatus.com