String.prototype.replaceAll

JavaScript now has first-class support for global substring replacement through the new `String.prototype.replaceAll()` method.

Documentation

Specification

Editor's draft

Status in Chromium

Blink>JavaScript


Enabled by default (tracking bug) in:

  • Chrome for desktop release 85
  • Chrome for Android release 85
  • Android WebView release 85

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped
  • No public signals
  • Shipped
  • No signals

Owners

Intent to Prototype url

Intent to Prototype thread

Last updated on 2020-05-30