Symbol.replace
The Symbol.replace
well-known symbol specifies the method that replaces matched substrings of a string. This function is called by the String.prototype.replace()
method.
For more information, see RegExp.prototype[Symbol.replace]()
and String.prototype.replace()
.
Value
The well-known symbol Symbol.replace
.