`Symbol.replace` 这个属性指定了当一个字符串替换所匹配字符串时所调用的方法。`String.prototype.replace()` 方法会调用此方法。

更多信息， 详见 `RegExp.prototype[@@replace]()` 和 `String.prototype.replace()`。

`Symbol.replace` 属性的属性特性：
writable | false
enumerable | false
configurable | false

## Specifications

Specification | Status | Comment
--- | --- | ---
ECMAScript 2015 (6th Edition, ECMA-262) Symbol.replace | Standard | Initial definition.
ECMAScript Latest Draft (ECMA-262) Symbol.replace | Draft |

## Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

- Desktop
- Mobile

Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari
--- | --- | --- | --- | --- | --- | ---
Basic support | 50 | (Yes) | 49 (49) | 未实现 | 未实现 | 未实现

Feature | Android | Chrome for Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile
--- | --- | --- | --- | --- | --- | --- | ---
Basic support | 未实现 | 未实现 | (Yes) | 49.0 (49) | 未实现 | 未实现 | 未实现

## See also

- `Symbol.match`
- `Symbol.search`
- `Symbol.split`
- `RegExp.prototype[@@replace]()`