Symbol.replace

A well-known symbol that is used to specify the method that replaces matched substrings of a string. Called by the String.prototype.replace method.

Syntax

Symbol.replace